[ 
https://issues.apache.org/jira/browse/OWB-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398387#comment-13398387
 ] 

Martin Kouba commented on OWB-675:
----------------------------------

There are some new TCK tests in 1.1 branch:
https://github.com/jboss/cdi-tck/tree/master/impl/src/main/java/org/jboss/cdi/tck/tests/alternative/resolution/qualifier
                
> 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