[
https://jira.jboss.org/browse/JBIDE-6512?page=com.atlassian.jira.plugin.s...
]
Lukas Jungmann closed JBIDE-6512.
---------------------------------
failing test is tracked in JBIDE-6517, the rest is passing in v201008232021N-H413-M2, so
closing...
Incorrect bean resolution for beans with qualifiers with annotation
value.
--------------------------------------------------------------------------
Key: JBIDE-6512
URL:
https://jira.jboss.org/browse/JBIDE-6512
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M1
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.M2
Take into account that annotation member type may be imported in different ways:
If the annotation member type is imported as
import static org.jboss.jsr299.tck.tests.jbt.resolution.PayBy.PaymentMethod.CHEQUE;
but the same qualifier declared in the bean as
import org.jboss.jsr299.tck.tests.jbt.resolution.PayBy.PaymentMethod;
@PayBy(PaymentMethod.CHEQUE)
...
then both
@Inject @PayBy(CHEQUE) AsynchronousPaymentProcessor chequePaymentProcessor;
and
@Inject @PayBy(PaymentMethod.CHEQUE) AsynchronousPaymentProcessor
chequePaymentProcessor2;
should be resolved.
All the tests in org.jboss.tools.cdi.core.test.tck.QualifierWithMembersTest should pass.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira