-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b129
-
linux
JDK9 build fails if Hindi locale is specified.
(I used LANG=hi_IN.utf8 on Linux.)
The root cause is non-ASCII numeric characters are used in generated source code(support/gensrc/java.base/sun/nio/cs/). In this case, the Devanagari script:
b2cMap[३२] = UNMAPPABLE_DECODING;
b2cMap[९१] = UNMAPPABLE_DECODING;
b2cMap[९२] = UNMAPPABLE_DECODING;
b2cMap[९३] = UNMAPPABLE_DECODING;
b2cMap[९४] = UNMAPPABLE_DECODING;
=========================================================
Compiling 11 properties into resource bundles for java.base
Creating support/jce/policy/unlimited/US_export_policy.jar
Compiling 6 properties into resource bundles for java.base
Creating support/jce/policy/limited/local_policy.jar
Creating support/jce/policy/unlimited/local_policy.jar
Compiling 11 properties into resource bundles for java.logging
Compiling 11 properties into resource bundles for java.management
Compiling 2878 files for java.base
Compiling 100 properties into resource bundles for java.desktop
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xE0) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xA5) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xA9) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xE0) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
...
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/JIS_X_0201.java:103: error: not a statement
c2bNR[���] = 0x5c; c2bNR[���] = 0xa5;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/JIS_X_0201.java:103: error: not a statement
c2bNR[���] = 0x5c; c2bNR[���] = 0xa5;
^
59 errors
make[3]: *** [/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/jdk/modules/java.base/_the.java.base_batch] Error 1
make[2]: *** [java.base-java] Error 1
(I used LANG=hi_IN.utf8 on Linux.)
The root cause is non-ASCII numeric characters are used in generated source code(support/gensrc/java.base/sun/nio/cs/). In this case, the Devanagari script:
b2cMap[३२] = UNMAPPABLE_DECODING;
b2cMap[९१] = UNMAPPABLE_DECODING;
b2cMap[९२] = UNMAPPABLE_DECODING;
b2cMap[९३] = UNMAPPABLE_DECODING;
b2cMap[९४] = UNMAPPABLE_DECODING;
=========================================================
Compiling 11 properties into resource bundles for java.base
Creating support/jce/policy/unlimited/US_export_policy.jar
Compiling 6 properties into resource bundles for java.base
Creating support/jce/policy/limited/local_policy.jar
Creating support/jce/policy/unlimited/local_policy.jar
Compiling 11 properties into resource bundles for java.logging
Compiling 11 properties into resource bundles for java.management
Compiling 2878 files for java.base
Compiling 100 properties into resource bundles for java.desktop
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xE0) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xA5) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xA9) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/IBM874.java:102: error: unmappable character (0xE0) for encoding ascii
b2cMap[������] = UNMAPPABLE_DECODING;
^
...
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/JIS_X_0201.java:103: error: not a statement
c2bNR[���] = 0x5c; c2bNR[���] = 0xa5;
^
/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/support/gensrc/java.base/sun/nio/cs/JIS_X_0201.java:103: error: not a statement
c2bNR[���] = 0x5c; c2bNR[���] = 0xa5;
^
59 errors
make[3]: *** [/export/disk1/kyuka/work/jdk9-Dev-test/build/linux-x86_64-normal-server-release/jdk/modules/java.base/_the.java.base_batch] Error 1
make[2]: *** [java.base-java] Error 1
- relates to
-
JDK-8162409 8160873 did not update generated-configure.sh
-
- Resolved
-
-
JDK-8162413 tighten safety check for .m4 files newer than generated-configure.sh
-
- Closed
-