Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-675

Alternative resolving does not take Qualifiers into consideration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.2.1
    • Core
    • None

    Description

      Consider the following situation:

      public interface X ..

      @SomeQualifier
      public class Foo implements X ...

      @Alternative
      public class Bar implements X ...

      and an InjectionPoint

      private @Inject @SomeQualifier X x;

      In this case an instance of Foo should be injected.

      Currently we do not consider the Qualifiers when resolving alternatives, thus we wrongly inject the @Alternative Bar.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: