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

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

    XMLWordPrintable

Details

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

    • 2d
    • 9
    • b150
    • windows

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: