Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
EJB 3.0 RC9 - Patch 1
-
None
-
None
Description
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.