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

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

      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.

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

              Created:
              Updated:
              Resolved: