You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/02/16 21:55:18 UTC

[jira] [Updated] (OWB-935) wrong result of javax.enterprise.inject.Instance in combination with alternatives

     [ https://issues.apache.org/jira/browse/OWB-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-935:
------------------------------
    Fix Version/s:     (was: 1.6.3)
                   1.6.4

> 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
>             Fix For: 1.6.4
>
>         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)