[jboss-jira] [JBoss JIRA] (WFLY-7085) By spec EJB business methods should not final but the deployment did not fail under any circumstances

Wolf-Dieter Fink (JIRA) issues at jboss.org
Fri Sep 9 11:32:00 EDT 2016


Wolf-Dieter Fink created WFLY-7085:
--------------------------------------

             Summary: By spec EJB business methods should not final but the deployment did not fail under any circumstances
                 Key: WFLY-7085
                 URL: https://issues.jboss.org/browse/WFLY-7085
             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)


More information about the jboss-jira mailing list