Review request for 8050968: Extension class loader initialization fails on Win7 x64 zh_TW

Mandy Chung mandy.chung at
Fri Jul 18 04:56:13 UTC 2014

This is a regression caused by JDK-8038177 that changed
sun.nio.cs.ext.ExtendedCharsets to use lambda.  It turns out that
ExtendedCharsets is loaded during the initialization of the extension
class loader when opening jre/lib/ext/meta-index on windows with system
locale loading extended charsets and caused the initialization error.

The fix is not to avoid lambda in ExtendedCharsets getting the system
property value.  At some point in the future, I'd like to take a closer
look at the system initialization path and what we can do better.

Webrev at:


More information about the core-libs-dev mailing list