[
https://issues.apache.org/jira/browse/OWB-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645953#comment-14645953
]
Gerhard Petracek commented on OWB-935:
--------------------------------------
see the 3 tests - two of them fail
> wrong result of javax.enterprise.inject.Instance in combination with
> alternatives
> ---------------------------------------------------------------------------------
>
> Key: OWB-935
> URL: https://issues.apache.org/jira/browse/OWB-935
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Affects Versions: 1.2.2
> Reporter: Gerhard Petracek
> Assignee: Mark Struberg
> Attachments: OWB-935.zip
>
>
> if the result of InjectionResolver#findByAlternatives is > 1 (for
> InstanceImpl#iterator) and there is one alternative-bean in the result, beans
> without alternative implementations aren't part of the result, because
> alternativeSet only contains alternative beans - see:
> {code}
> if (containsAlternative)
> {
> return alternativeSet;
> }
> return enableSet;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)