<AWT Dev> 8236161: AWT Simple Example not Work
Yasumasa Suenaga
suenaga at oss.nttdata.com
Sat Jul 11 04:15:25 UTC 2020
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
More information about the awt-dev
mailing list