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. I've updated the bug report (https://bugs.openjdk.java.net/browse/JDK-8283606) description. Please change it as you see fit. Also, please update the summary of this PR so it's clear what the problem is, and how you're fixing it. ------------- PR: https://git.openjdk.java.net/jdk/pull/7924