Weijun Wang wrote:
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.:+ Thread.currentThread().setContextClassLoader( + ResetConfigModule.class.getClassLoader());Please confirm this is OK. Or, do you have a better solution?
-Alan.
