Hi all,

I encountered JVM crash on Windows when I run Sample.java on JDK-8236161 with 
-Dfile.encoding=UTF-8.
I investigated it, then I found out current implementation cannot handle 
default charset.

If charset is set to UTF-8, it would be handled as "DEFAULT_CHARSET" in 
WFontConfiguration::initTables. However it does not affect native font name, so we cannot 
find valid font.

I created a patch as following, and it works fine on my Windows 10 box. I want 
to fix this issue with it, but JDK-8236161 is closed as duplicate of 
JDK-8229126 (I cannot see it).

  http://cr.openjdk.java.net/~ysuenaga/JDK-8236161/webrev/

Anyone works for this issue? Should I file it as new bug?


Thanks,

Yasumasa

Reply via email to