[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-885) StatefulContainer#getBusinessObject(BeanContext beanContext, Class businessInterface) only searched threw Remote interfaces

Maurice Zeijen (JIRA) jira-events at lists.jboss.org
Mon Feb 19 11:01:33 EST 2007


StatefulContainer#getBusinessObject(BeanContext beanContext, Class businessInterface) only searched threw Remote interfaces
---------------------------------------------------------------------------------------------------------------------------

                 Key: EJBTHREE-885
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-885
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: EJB 3.0 RC9 - Patch 1
            Reporter: Maurice Zeijen


In the StatefulContainer#getBusinessObject(BeanContext beanContext, Class businessInterface)  there is a small bug . This methods contains two loops. The first for an array of remote Interfaces and the second for an array of local interfaces. The second loop is broken because the for statement takes the remote interfaces array instead of the local interfaces array.

Here you can find the bug:
http://fisheye.jboss.com/browse/JBoss/jboss-ejb3/src/main/org/jboss/ejb3/stateful/StatefulContainer.java?r=1.58#l851

It is on line 851.

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

        



More information about the jboss-jira mailing list