[
https://issues.jboss.org/browse/CDI-362?page=com.atlassian.jira.plugin.sy...
]
Marina Vatkina commented on CDI-362:
------------------------------------
Pete, can we list all the rules and identify any inconsistencies?
1. final rule - does CDI allow private methods to be final if it is a no-interface view?
2. non-public methods - I know at least one EJB container that followed the CDI spec and
not so much the EJB spec and proxied protected methods.
I need to check if RI actually follows the EJB spec rule about the EJBException.
No-interface view EJB proxying rules are less strict than CDI,
leading to odd error reporting
---------------------------------------------------------------------------------------------
Key: CDI-362
URL:
https://issues.jboss.org/browse/CDI-362
Project: CDI Specification Issues
Issue Type: Bug
Reporter: Pete Muir
Fix For: 1.1.FD
E.g.
// allowed by EJB
// disallowed by CDI
@Stateful @RequestScoped
public class MyBean {
final void m() { };
}
public class Other {
@EJB MyBean field; // PASS
@Inject MyBean field; // FAIL - unproxyable
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira