[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6512) Incorrect bean resolution for beans with qualifiers with annotation value.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Jun 22 09:59:46 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich resolved JBIDE-6512.
------------------------------------------

    Resolution: Done


> 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

        


More information about the jbosstools-issues mailing list