[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2086) Missing interpretation of EJB-Annotation results in wrong call of dynamic method

Tobias Grundmann (JIRA) jira-events at lists.jboss.org
Tue May 4 06:09:05 EDT 2010


Missing interpretation of EJB-Annotation results in wrong call of dynamic method 
---------------------------------------------------------------------------------

                 Key: EJBTHREE-2086
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-2086
             Project: EJB 3.0
          Issue Type: Bug
          Components: ejb3
    Affects Versions: trunk
         Environment:  java version "1.6.0_18"
            Reporter: Tobias Grundmann


when looking up a method for invocation in StatefulContainer.dynamicInvoke():522  jboss tries to determine if it's an EJB-Object-Method via SessionSpecContainer.isEjBObjectMethod(). This results wrongly in "false"  if the class in question doesn't implement EJBObject but has e.g. a @Stateful annotation.

Futher the method EJBContainer.getNonBridgeMethod() seems to be rather optimistic in trying to find the correct method only according to the number of parameters.

This was tested with jboss-6.0.0.M1, but the corresponding code in trunk seems to be the same.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list