-
Bug
-
Resolution: Done
-
Major
-
1.1.0.Beta1
-
None
-
None
Currently when discovering observers weld only checks declared methods of the class, which ignores any observers declared in superclasses that should be inherited.
AbstractBeanDeployer: protected <X> void createObserverMethods(RIBean<X> declaringBean, WeldClass<X> annotatedClass) { for (WeldMethod<?, ? super X> method : annotatedClass.getDeclaredWeldMethodsWithAnnotatedParameters(Observes.class)) { createObserverMethod(declaringBean, method); } }
Notice the use of get*Declared*WeldMethodsWithAnnotatedParameters().
- is blocked by
-
CDITCK-186 TCK does not properly test for inhertance of observer methods
- Resolved