On Thu, 24 Mar 2022 16:17:05 GMT, Ioi Lam <ik...@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.
>
> As I mentioned in the bug report, it's not clear to me what the error 
> condition is. My guess is:
> 
> - You are running on a machine where the default locale is zh
> - Some tests fail because they expect the output in English, such as "Main 
> method not found in class"
> - However, on your machine, the error message is printed in Chinese, so the 
> tests fail.
> - You can work around the problem, and make the tests pass, by adding 
> `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"`

@iklam by adding `JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US`, 
tests will still fail.  Without adding it, A bunch of tests will fail. most of 
them are langtool tests, more than 1000 failed test  at the time of my test.

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

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

Reply via email to