-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.2, 6
-
b83
-
generic
-
generic, solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2195881 | 1.4-pool | Abhijit Saha | P4 | Closed | Won't Fix |
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.
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.
- backported by
-
JDK-2195881 Builds when LC_ALL != C can fail (specifically msgfmt fails when LC_ALL=en_us.UTF-8)
-
- Closed
-
- relates to
-
JDK-6964680 build fails if a timezone data file contains non-ASCII-7 chars and LANG is not "C"
-
- Closed
-