-
Bug
-
Resolution: Done
-
Major
-
bom-eap5-1.0.0, depchain-1.0.0-alpha-4
-
None
-
jboss-ejb3-interceptors:1.0.8
Consider this bean and its superclass:
public class BaseBean
{
@AroundInvoke
private Object aroundInvoke(InvocationContext inv) throws Exception
...
}
@Stateless
public class BeanA extends BaseBean
{
@AroundInvoke
private Object aroundInvoke(InvocationContext inv) throws Exception
}
When a business method of BeanA is invoked, the aroundInvoke method on the BaseBean is not being called. Only the around invoke method on the BeanA gets called. This goes against the spec (Section "Multiple Method Interceptor Methods" of the interceptors spec).
The bug lies in org.jboss.ejb3.interceptors.lang.ClassHelper.isOverridden(Method method, Method... methods) which doesn't take into account private method.
- is incorporated by
-
JBPAPP-7578 Upgrade jboss-ejb3-bom-eap5 to 1.0.4
- Closed