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

Builds when LC_ALL != C can fail (specifically msgfmt fails when LC_ALL=en_us.UTF-8)

XMLWordPrintable

    • b83
    • generic
    • generic, solaris

        Builds when LC_ALL != C can fail (specifically msgfmt fails when LC_ALL=en_us.UTF-8)

        I had managed to get my LC_ALL set to something other than C and the Solaris msgfmt tool fails with an error saying it can't read the input file it was supplied, in reality it can't read some system message file in the UTF-8 encoding that isn't installed on the system.

        The build makefiles need to deal with LC_ALL settings that are not C locale, perhaps a warning, but something.

        This build failure was happening during a control build, not sure this is an issue for the other workspaces.

        This could also impact what javac or java in general thinks the default system encoding is, so it may be important to make sure that javac compiles all sources as ascii files. Windows will be different here. I assume all the sources in the JDK are just ascii or UTF8 encoding and should not be treated as any other encoding.

              ohair Kelly Ohair (Inactive)
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: