Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-M3
-
None
-
None
Description
From javadoc for getPolicyConfiguration(String contextID, boolean remove)
- For a given value of policy context identifier, this method must always
- return the same instance of PolicyConfiguration and there must be at
- most one actual instance of a PolicyConfiguration with a given policy
- context identifier (during a process context). <p>
* - To preserve the invariant that there be at most one PolicyConfiguration
- object for a given policy context, it may be necessary for this method
- to be thread safe.
From our implementation:
if (configuration == null || remove) {
configuration = new PolicyConfigurationGeneric(contextID);
configurations.put(contextID, configuration);