[
https://issues.jboss.org/browse/CDITCK-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Kouba resolved CDITCK-212.
---------------------------------
Assignee: Martin Kouba
Fix Version/s: 1.1.0.Alpha2
Resolution: Done
Questionable code removed.
> DestroyedInstanceReturnedByGetTest assumes that the application scope can be
> destroyed and then re-created
> ----------------------------------------------------------------------------------------------------------
>
> Key: CDITCK-212
> URL: https://issues.jboss.org/browse/CDITCK-212
> Project: CDI TCK
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Stuart Douglas
> Assignee: Martin Kouba
> Fix For: 1.1.0.Alpha2
>
>
> Context applicationContext =
> getCurrentManager().getContext(ApplicationScoped.class);
> destroyContext(applicationContext);
> setContextActive(applicationContext);
> myApplicationBeanInstance = applicationContext.get(myApplicationBean);
> The spec does not require that the application scope can be destroyed and
> re-created, if fact it could be argued that this behaviour violates the spec,
> as the application context is supposed to last for the lifetime of the
> application.
--
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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues