Help: ContextClassLoader in jtreg tests

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 8 08:00:22 UTC 2011


David Holmes wrote:
>
> b) jtreg has explicitly changed the current thread's context classloader
I don't jtreg does this but when running tests in -samevm or -agentvm 
mode then jtreg creates a class loader per test. It could be that some 
test is setting the current thread's context class loader and this is 
having a side effect on tests that run subsequentially in the same VM.

-Alan.



More information about the core-libs-dev mailing list