-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M4
-
None
EXECUTE: Create in a CDI solder project these three classes:
@DefaultBean(Test1.class) public class Test1 { @Inject TypeB b; @Inject TypeA a; @Produces TypeB pb; @Produces TypeA pa; } public class TypeA { TypeA(String s) {} } public class TypeB extends TypeA { TypeB(String s) { super(s); } }
ASSERT: Injection point 'a' is resolved to producer 'pa', and injection point 'b' is resolved to producer 'pb'.
FAILURE: Injection point 'a' is resolved to the both producers 'pa' and 'pb', which can be seen by marker 'Multiple beans are eligible...' and in 'Assignable Beans' dialog