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

Yuri Nesterenko yan at openjdk.java.net
Thu Feb 11 15:07:46 UTC 2021


On Thu, 11 Feb 2021 14:34:27 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> 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 "13.0.7-internal" 2021-04-20
>     OpenJDK Runtime Environment (build 13.0.7-internal+0-adhoc.omikhaltsova.jdk13u-dev-fork)
>     OpenJDK 64-Bit Server VM (build 13.0.7-internal+0-adhoc.omikhaltsova.jdk13u-dev-fork, mixed mode, sharing)

I think next time it would be better to, well, not duplicate a rationale to make a fix partial etc. but add at least a short explanation and maybe some link here, too. In this case, a reviewer would have to make less steps.

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

Marked as reviewed by yan (Reviewer).

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


More information about the jdk-updates-dev mailing list