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

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Fri Jun 24 10:52:23 EDT 2011


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

Lukas Jungmann closed JBIDE-8825.
---------------------------------



v. in M2

> 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)
>    Affects Versions: 3.2.0.Final
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M1
>
>
> Consider the example:
> {code}
> public class Test {
>     @Produces
>     @Named("abc")
>     String abc;
>     @Inject
>     void setA(@Named("a") String s) {
>     }
>     @Inject
>     void setABC(@Named("abc") String s) {
>     }
> }
> {code}
> 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