One new change (was Re: 2nd round code review request: 7055363: jdk_security3 cleanup)
Alan Bateman
Alan.Bateman at oracle.com
Sun Aug 7 22:04:20 UTC 2011
Weijun Wang wrote:
> :
>
>
> + Thread.currentThread().setContextClassLoader(
> + ResetConfigModule.class.getClassLoader());
>
> Please confirm this is OK. Or, do you have a better solution?
Will the thread context class loader be restored too? With jtreg in
-samevm or -agentvm mode then the test classes are loaded by a class
loader that jtreg creates for the test so I assume the above could lead
to issues in subsequent tests that make use of the thread context class
loader.
-Alan.
More information about the security-dev
mailing list