RFR: 8275727: Tests may fail with zh locale on MacOS

David Holmes dholmes at openjdk.java.net
Thu Mar 24 00:56:49 UTC 2022


On Wed, 23 Mar 2022 15:34:43 GMT, Vikey Chen <duke at openjdk.java.net> wrote:

> I have run tier-1 test with  `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"`, some tests still fail because of default locale, Most of them are langtools tests. 
> 
> On MacOS 12.1.

It is not clear to me why only the listed tests are affected by this e.g.

test/hotspot/jtreg/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java

why is every test that uses `ProcessTools.createJavaProcessBuilder` not affected? And should this be something that is handled inside `ProcessTools.createJavaProcessBuilder` rather than in individual tests?

Also is this really intended as a fix for JDK-8275727 because the PR has now been linked to it! This seems a related but differnet issue.

Thanks,
David

-------------

PR: https://git.openjdk.java.net/jdk/pull/7924


More information about the compiler-dev mailing list