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.