[jboss-jira] [JBoss JIRA] (EJBTHREE-2277) Missing interpretation of EJB-Annotation results in wrong call of dynamic method
Mustafa Musaji (JIRA)
jira-events at lists.jboss.org
Wed Feb 15 05:56:02 EST 2012
Mustafa Musaji created EJBTHREE-2277:
----------------------------------------
Summary: Missing interpretation of EJB-Annotation results in wrong call of dynamic method
Key: EJBTHREE-2277
URL: https://issues.jboss.org/browse/EJBTHREE-2277
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: trunk
Environment: java version "1.6.0_18"
Reporter: Mustafa Musaji
Assignee: jaikiran pai
Attachments: jbossbug-EJBTHREE-2086.tar.gz
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, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list