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

Vikey Chen duke at openjdk.java.net
Thu Mar 24 07:55:39 UTC 2022


On Thu, 24 Mar 2022 05:15:05 GMT, David Holmes <dholmes at openjdk.org> 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.
>
> I have filed:
> 
> https://bugs.openjdk.java.net/browse/JDK-8283606
> 
> please update the PR accordingly.

@dholmes-ora Thanks, I've updated the PR. 

Tell me if changing the test library is preferable, I will update this PR.
it will include `ProcessTools.createJavaProcessBuilder` , `ExecTask` , `JavadocTask` , `JavacTask`,and maybe modify two tests to use `JavacTask` if applicable.

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

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


More information about the hotspot-runtime-dev mailing list