Questions for JDK-4947890

Ichiroh Takiguchi takiguc at
Tue Oct 12 09:44:53 UTC 2021

I have some questions for JDK-4947890。

One of app’s JVM was upgraded from JDK11 to JDK17.
Then the working behavior was changed on Windows 10 Multilingual User 
Interface (MUI).
(Base was Japanese Windows 10, display language setting was English 
(United States))

In my investigation, the working behavior was changed by JDK12+b23.
   JDK-4947890 Minimize JNI upcalls in system-properties initialization 

Following change was applied on 
 From (not for MacOS platform) [2]
   Put sprops->sun_jnu_encoding into file.encoding system property
To [3]
   Put sprops->encoding into file.encoding system property

I checked JDK-4947890’s CSR JDK-8213895 [4]
   Modify JVM interface functions for property initialization

But it seems that above CSR does not mention such a significant 
specification change.

I checked JDK17u, same code was still used [5].

I’d like to confirm
* This change was intentional or not ?
* We can revert tp JDK11’s spec ?

Ichiroh Takiguchi


More information about the core-libs-dev mailing list