RFR: 8002070 Remove the stack search for a resource bundle for Logger to use

Mandy Chung mandy.chung at oracle.com
Fri Mar 8 20:41:35 UTC 2013


On 3/5/2013 11:12 AM, Jim Gish wrote:
>> For the LoggerResourceBundleRace test then does it have to run in its 
>> own VM?
> Because we no longer search up the stack for the bundles, this test 
> fails unless run in its own vm.  However, to avoid this, I'll try to 
> change the test to set the context classloader. 

I discussed with Jim.  In jtreg samevm mode, the testclasses are not in 
the classpath and thus the system classloader can't find the resource 
bundle.  Before the fix, the test finds the resource bundle using the 
classloader on the stack which isn't the intent.

Mandy



More information about the core-libs-dev mailing list