[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8825) Parameter injection point should resolve taking into account member values of qualifiers

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Apr 29 19:48:18 EDT 2011


Parameter injection point should resolve taking into account member values of qualifiers
----------------------------------------------------------------------------------------

                 Key: JBIDE-8825
                 URL: https://issues.jboss.org/browse/JBIDE-8825
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi (jsr-299)
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 3.3.0.M1


Consider the example:

public class Test {
    @Produces
    @Named("abc")
    String abc;

    @Inject
    void setA(@Named("a") String s) {
    }

    @Inject
    void setABC(@Named("abc") String s) {
    }
}

Here, injection point in method setA should not be resolved to producer field abc, and injection point in method setABC should be resolved to it. Now, both injection points are resolved to abc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list