Injection point
@Inject @PayBy(FirstPaymentMethod.CASH) AsynchronousPaymentProcessor cashPaymentProcessor;
should not accept bean
@PayBy(SecondPaymentMethod.CASH)
@ApplicationScoped
class SecondPaymentProcessor implements AsynchronousPaymentProcessor {}
Test in org.jboss.tools.cdi.core.test.tck.QualifierWithMembersTest.testQualifierCoincidingSimpleNameInInjectingBeanAndCoincidingSimpleNameInInjectedBeanResolved() should pass.
- is duplicated by
-
JBIDE-6534 cdi test failures
- Closed
- is related to
-
JBIDE-6512 Incorrect bean resolution for beans with qualifiers with annotation value.
- Closed