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

Antonin Stefanutti updated OWB-1126:
------------------------------------
    Attachment: OwbType.java
                OwbTestExtension.java
                OwbTestBean.java
                OwbTest.java

> Lookup of non passivating scope programmatic bean leads to incorrect 
> contextual references
> ------------------------------------------------------------------------------------------
>
>                 Key: OWB-1126
>                 URL: https://issues.apache.org/jira/browse/OWB-1126
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.6.3
>            Reporter: Antonin Stefanutti
>         Attachments: OwbTest.java, OwbTestBean.java, OwbTestExtension.java, 
> OwbType.java
>
>
> When adding a programmatic bean in an extension whose scope is 
> {{ApplicationScoped}}, and that bean instance is used to retrieve a 
> contextual instance of that bean, the contextual reference is not the same as 
> the one retrieve either by looking up the bean prior to retrieving the 
> contextual reference or with an injection point that resolves to that bean.
> Attached is a minimal reproducible test case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to