-
Bug
-
Resolution: Done
-
Major
-
1.1.5.Final, 2.0.0.Alpha2
-
None
It seems that only one level of inheritance is taken into account. The problem is likely in Interceptors.flattenInterceptorBindings(BeanManagerImpl, Collection<Annotation>, boolean, boolean) or InterceptorBindingModel.
9.5. Interceptor resolution:
For a business method or EJB timeout method, the interceptor bindings include the interceptor bindings declared or inherited by the bean at the class level, including, recursively, interceptor bindings declared as meta-annotations of other interceptor bindings and stereotypes, together with all interceptor bindings declared at the method level, including, recursively, interceptor bindings declared as meta-annotations of other interceptor bindings.
See also CDI TCK 1.1 test:
https://github.com/jboss/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/tests/interceptors/definition/inheritance/resolution/InterceptorBindingResolutionTest.java