Issue Type: Bug Bug
Affects Versions: 1.1.2.Final
Assignee: Martin Kouba
Created: 12/Nov/13 2:46 AM
Description:

They way javax.enterprise.inject.spi.CDI works is that each time the current() method is called, the CDI class invokes CDIProvider.getCDI() to retrieve a (possibly new) CDI instance.

org.jboss.cdi.tck.tests.lookup.manager.provider.custom.ForwardingCDIProvider works with an assumption that it is safe to take a single CDI instance and always return it wrapped. However, a custom CDIProvider may be returning different CDI instances in different contexts (e.g. for different application). Therefore, the way ForwardingCDIProvider is currently implemented may cause failures in tests that follow CustomCDIProviderTest if the CDI implementation uses these context-sensitive CDI instances

Fix Versions: 1.1.3.Final
Project: CDI TCK
Priority: Major Major
Reporter: Jozef Hartinger
Security Level: Public (Everyone can see)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to