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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Environment:

      Chinese or Japanese locale Windows (similar locales probably also impacted).

    • Subcomponent:
      2d
    • Introduced In Version:
      9
    • Resolved In Build:
      b150
    • OS:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: