[jdk13u-dev] RFR: 8242283: Can't start JVM when java home path includes non-ASCII character

Olga Mikhaltsova omikhaltcova at openjdk.java.net
Thu Feb 11 14:39:53 UTC 2021


I'd like to backport JDK-8242283 to jdk13u for parity with jdk11u.
It's a partial fix related only to HotSpot. The scope of fixes is the same as for jdk11u. The reasons is the same. 
The original (partial) patch applied cleanly.

Tested manually. This patch is applied after JDK-8240197 and it fixes the following scenario for example:
    System locale: Chinese (Simplified, China) 
    Current format: English (United States) 
    Active code page: 936 
Before the patch:

    $ ./java -version
    Error occurred during initialization of VM
    Failed setting boot class path.
After the patch:

    $ java -version
    openjdk version "11.0.9" 2020-10-20 LTS
    OpenJDK Runtime Environment Zulu11.43+21-CA (build 11.0.9+11-LTS)
    OpenJDK 64-Bit Server VM Zulu11.43+21-CA (build 11.0.9+11-LTS, mixed mode)

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

Commit messages:
 - Backport d34f732b9958149df51a64b15e8af6210f451362

Changes: https://git.openjdk.java.net/jdk13u-dev/pull/120/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=120&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8242283
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk13u-dev/pull/120.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/120/head:pull/120

PR: https://git.openjdk.java.net/jdk13u-dev/pull/120


More information about the jdk-updates-dev mailing list