Regression test java/util/jar/JarFile/TurkCert.java incorrectly changes Locale settings
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Thu Dec 17 15:22:47 PST 2009
Alan Bateman wrote:
> Pavel Tisnovsky wrote:
>> Hi,
>>
>> the first statement (Locale.setDefault(new Locale("TR", "tr"));) in
>> regression test
>> java/util/jar/JarFile/TurkCert.java
>>
>> changes locale settings on global level (i.e. in currently running
>> JTreg/JVM) which causes that other test fails, for example
>> sun/java2d/cmm/ColorConvertOp/ConstructorsNullTest/ConstructorsNullTest
>>
>> I'm able to do patch for this test. Should I post webrev here or to
>> another OpenJDK mailing list?
>>
>> regards
>> Pavel Tisnovsky
> core-libs-dev is probably the best place. It's only recently that
> we've been running these tests in samevm mode and this is one that
> should probably run in othervm mode.
>
> -Alan.
Pavel,
You could also file a bug against jtreg that it should try and guard
against this in samevm mode.
-- Jon
More information about the jdk6-dev
mailing list