Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
M1
-
None
Description
According to the Spec: Manager#getContext(scope) must throw a ContextNotActiveException instead of an IllegalArgumentException if no active context exists. This is also true if no such scope like the given one exists in the system!
TCK test:
org.jboss.jsr299.tck.unit.context.ContextTest#testGetContextWithNoRegisteredContextsFails()