[9] RFR: 8177314: java VM fails to start with a Japanese ShiftJIS locale

Naoto Sato naoto.sato at oracle.com
Tue Apr 18 15:48:09 UTC 2017


Hi Alan,

On 4/18/17 12:42 AM, Alan Bateman wrote:
>> The change is to move SJIS based encodings into java.base module on
>> Linux so that SJIS locale can be used as the default locale to start
>> the JVM. Although they are not the default locale in Linux
>> distributions, they still seem to be widely used.
> Looks good. Is there anything to check into on other platforms or is
> this just a Linux only concern.

Java runtime for Windows already includes SJIS in java.base so there 
should be no issue there. I don't see any convincing reason for 
macOS/Solaris to have SJIS in java.base, as Solaris has PCK which is 
SJIS equivalent, and macOS has been using UTF-8 as the default at least 
since MacOSX was released.

Naoto


More information about the core-libs-dev mailing list