On Wed, 23 Mar 2022 15:34:43 GMT, Vikey Chen <d...@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. 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"` ------------- PR: https://git.openjdk.java.net/jdk/pull/7924