--- old/doc/testing.md 2019-04-16 16:03:59.410693657 +0800 +++ new/doc/testing.md 2019-04-16 16:03:58.949758252 +0800 @@ -388,6 +388,16 @@ $ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest" +### Non-US locale + +If your locale is non-US, some tests are likely to fail. To work around this you can +set the locale to US. On Unix platforms simply setting `LANG=en_US` in the +environment before running tests should work. On Windows, setting +`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but not all test cases. +Then you can try to solve this problem by setting LANG before "make test". + + $ export LANG="en_US" + --- # Override some definitions in the global css file that are not optimal for # this document.