* default context. Should repair improper setting
* of context by encompassing runtime.
*/
SimplePolicyConfiguration.logException(Level.WARNING,
"invalid policy context id",
new PolicyContextException());
}
} finally {
rLock.unlock();
}
if (pc != null) {
if (!pc.inService()) {
/* policy context set on thread is not in service
* return null to allow checking to be performed with
* default context. Should repair improper setting
* of context by encompassing runtime.
*/
SimplePolicyConfiguration.logException(Level.FINEST,
"invalid policy context state",
new PolicyContextException());
pc = null;
}
}
}