-
Bug
-
Resolution: Done
-
Major
-
AS 5.0.0.Beta3, AS 5.0.0.Beta4
-
None
The EJBContainer.isCallable is comparing two method names using the '==' operator instead of using equals().
private static boolean isCallable(Method method, Method other)
{
if ((method.getDeclaringClass().isAssignableFrom(other.getDeclaringClass())) && (method.getName() == other.getName()))
{
While it works for certain verions of the Sun JVM due to the fact that both Method object reference the same name string object, it does not work for the IBM JVM.
One of the results I encountered is that class interceptors are not applied to session beans.
- relates to
-
EJBTHREE-1222 Methods named 'void remove()' are interpreted as EJBObject.remove() or EJBLocalObject.remove()
- Resolved