[weld-issues] [JBoss JIRA] (WELD-1140) Dependent scoped instances injected into observer method parameters are not destroyed for non-dependent reciever
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Tue May 22 08:31:18 EDT 2012
[ https://issues.jboss.org/browse/WELD-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger updated WELD-1140:
----------------------------------
Labels: backport_weld1x (was: )
> Dependent scoped instances injected into observer method parameters are not destroyed for non-dependent reciever
> ----------------------------------------------------------------------------------------------------------------
>
> Key: WELD-1140
> URL: https://issues.jboss.org/browse/WELD-1140
> Project: Weld
> Issue Type: Bug
> Affects Versions: 1.1.5.Final, 2.0.0.Alpha2
> Reporter: Martin Kouba
> Assignee: Jozef Hartinger
> Labels: backport_weld1x
> Fix For: 2.0.0.Alpha3
>
>
> Dependent scoped contextual instances injected into method parameters of an observer method are not destroyed when the invocation completes in case of reciever itself is not dependent scoped.
> Problematic code: {{org.jboss.weld.event.ObserverMethodImpl.sendEvent(T, Object, CreationalContext<?>)}}.
> See also CDI TCK 1.1 test:
> https://github.com/jboss/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/tests/context/dependent/instance/BuiltinInstanceDependentObjectTest.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list