Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8825

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.M1
    • 3.2.0.Final
    • cdi
    • None

    Description

      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.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: