-
Bug
-
Resolution: Duplicate
-
P4
-
7
-
generic
-
generic
Currently, the JDK7 build fails if it runs in non-English locale, say Japanese as follows (this is on Solaris with ja_JP.UTF-8 locale):
The reason of the problem is that the following line is in make/common/shared/Defs.gmk:
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
The output of the 'date' command depends on the locale, which can lead to the build failure in non-English locales. In Japanese case, The month name is in Japanese, not like 'Apr'.
The reason of the problem is that the following line is in make/common/shared/Defs.gmk:
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
The output of the 'date' command depends on the locale, which can lead to the build failure in non-English locales. In Japanese case, The month name is in Japanese, not like 'Apr'.
- duplicates
-
JDK-6501543 Username can have non-alphanumeric characters
-
- Closed
-
- relates to
-
JDK-6482134 JDK 6 build error on Windows, Visual Studio .NET on Japanese locale
-
- Closed
-