Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249215

JFrame::setVisible crashed with -Dfile.encoding=UTF-8 on Japanese Windows.

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b12
    • OS:
      windows

      Backports

        Description

        I tried to run Sample.java in JDK-8236161 with -Dfile.encoding=UTF-8, but JVM crashed due to internal error on fastdebug VM. I saw same call stack with JDK-8236161 in hs_err log.

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ysuenaga Yasumasa Suenaga
                  Reporter:
                  ysuenaga Yasumasa Suenaga
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: