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

non-ASCII characters in lcms and harfbuzz break Windows builds on some locales

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • Chinese or Japanese locale Windows (similar locales probably also impacted).

    • 2d
    • 9
    • b150
    • windows

      Since "warnings as errors" has been enabled in JDK 9, the presence of non-ASCII characters in source code for lcms and harfbuzz is causing Windows builds fail in a number of non-English locales. (See attached warnings_log.txt for the exact warnings.)

      Obviously, we want to be able to build OOTB regardless of the user's locale. There does not appear to be a simple workaround like issuing a chcp command before building or setting environmental variables. The only way to build the code as-is on these systems is to change the system-wide "language for non-Unicode programs" (which requires a reboot!) or to disable warnings as errors during configuration (--disable-warnings-as-errors). Obviously neither is a very good solution.

            dbuck David Buck
            dbuck David Buck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: