Mark Struberg created OWB-675:
---------------------------------

             Summary: Alternative resolving does not take Qualifiers into 
consideration
                 Key: OWB-675
                 URL: https://issues.apache.org/jira/browse/OWB-675
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.4
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.1.5


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to