-
Bug
-
Resolution: Fixed
-
P4
-
19
-
b22
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8300928 | 17.0.8-oracle | Pavel Rappo | P4 | Resolved | Fixed | b01 |
JDK-8299346 | 17.0.7 | Christoph Langer | P4 | Resolved | Fixed | b01 |
JDK-8300927 | 11.0.20-oracle | Pavel Rappo | P4 | Resolved | Fixed | b01 |
JDK-8299383 | 11.0.19 | Christoph Langer | P4 | Resolved | Fixed | b01 |
JDK-8301314 | openjdk8u372 | Paul Hohensee | P4 | Resolved | Fixed | b02 |
<quote>
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 or MacOS, setting JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" helps for most, but not all test cases.
</quote>
However, on MacOS 12.1, even with the above suggestions, some tests still fail, including the following in tier-1. The tests expects output messages in English, but Chinese message are still produced.
test/hotspot/jtreg/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java
test/langtools/jdk/javadoc/tool/6964914/TestStdDoclet.java
test/langtools/jdk/javadoc/tool/6964914/TestUserDoclet.java
test/langtools/jdk/javadoc/tool/EnsureNewOldDoclet.java
test/langtools/jdk/javadoc/tool/testLocaleOption/TestLocaleOption.java
test/langtools/tools/javac/T8132562/ClassPathWithDoubleQuotesTest.java
test/langtools/tools/javac/options/smokeTests/OptionSmokeTest.java
test/langtools/tools/javac/platform/PlatformProviderTest.java
test/langtools/tools/jdeps/MultiReleaseJar.java
- backported by
-
JDK-8299346 Tests may fail with zh locale on MacOS
- Resolved
-
JDK-8299383 Tests may fail with zh locale on MacOS
- Resolved
-
JDK-8300927 Tests may fail with zh locale on MacOS
- Resolved
-
JDK-8300928 Tests may fail with zh locale on MacOS
- Resolved
-
JDK-8301314 Tests may fail with zh locale on MacOS
- Resolved
- duplicates
-
JDK-8283933 Tests may fail when executed with zh locale on MacOS
- Closed
- relates to
-
JDK-8283697 On macOS, the locale should be settable using environment LANG, LC_*
- Closed
-
CODETOOLS-7903149 Consistent pre-conditions for tests that depend on the Locale
- New
-
JDK-8275727 Tests should not leave locales to chance
- Open
- links to
-
Commit openjdk/jdk8u-dev/ab678bc8
-
Commit openjdk/jdk11u-dev/4895d4ce
-
Commit openjdk/jdk17u-dev/e0368a2a
-
Commit openjdk/jdk/7d545084
-
Review openjdk/jdk8u-dev/223
-
Review openjdk/jdk11u-dev/1611
-
Review openjdk/jdk17u-dev/963
-
Review openjdk/jdk/7924