[
https://issues.apache.org/jira/browse/OWB-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg closed OWB-675.
-----------------------------
> 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.2.1
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)