RFR: 8132459: ExceptionInInitializerError from 'java -version' on Linux under zh_CN.GB18030 locale

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 28 13:48:24 UTC 2015

On 28/07/2015 10:50, 陆传胜(传胜) wrote:
> Hello,
> The issue
> was found on one of my Linux boxes which uses locale zh_CN.GB18030 by default,
> a simple
> patch was made to fix it, may I have it reviewed ?
> webrev: http://cr.openjdk.java.net/~luchsh/webrev-8132459/
> bug: https://bugs.openjdk.java.net/browse/JDK-8132459
I hope Sherman will have time to look at this and say whether GB18030 is 
supposed java.base and so be listed in 

My concern with this change is that it's bringing back code that was 
deliberately removed as part of JDK-8038310. We want clean separation of 
the java.base and jdk.charsets modules so that charsets that are needed 
for startup in supported locales to be in java.base. Anything that is 
not needed in java.base goes to jdk.charsets and is loaded via the 
extended charset provider.


More information about the core-libs-dev mailing list