One new change (was Re: 2nd round code review request: 7055363: jdk_security3 cleanup)

Weijun Wang weijun.wang at oracle.com
Sun Aug 7 23:48:51 UTC 2011


Correct. I'll restore it.

Thanks
Max


On 08/08/2011 06:04 AM, Alan Bateman wrote:
> 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