Wolf-Dieter Fink created WFLY-7086:
--------------------------------------
Summary: By spec EJB business methods should not final but the deployment did
not fail under any circumstances
Key: WFLY-7086
URL:
https://issues.jboss.org/browse/WFLY-7086
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 11.0.0.Alpha1
Reporter: Wolf-Dieter Fink
The ejb 3.2 core specification state in chapter 4.9.6 that business methods should not be
declared as final or static.
But a Bean with a business method declared in the local or remote interface can be correct
deployed and is accesible under some circumstances.
To ensure that the Bean is according to the spec and avoid runtime or injection issues the
methods should be checked and a VerifyError should be thrown at deployment time.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)