8160873: (cs) JDK9 Build failure on Hindi locale
authornaoto
Thu, 21 Jul 2016 09:47:22 -0700
changeset 39684 1373dd6d26fa
parent 39683 8e3623398d83
child 39685 b41a8ef42217
8160873: (cs) JDK9 Build failure on Hindi locale Reviewed-by: tbell
common/autoconf/boot-jdk.m4
--- a/common/autoconf/boot-jdk.m4	Fri Jul 15 09:05:29 2016 -0700
+++ b/common/autoconf/boot-jdk.m4	Thu Jul 21 09:47:22 2016 -0700
@@ -345,6 +345,9 @@
   # Disable special log output when a debug build is used as Boot JDK...
   ADD_JVM_ARG_IF_OK([-XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput],boot_jdk_jvmargs,[$JAVA])
 
+  # Force en-US environment
+  ADD_JVM_ARG_IF_OK([-Duser.language=en -Duser.country=US],boot_jdk_jvmargs,[$JAVA])
+
   # Apply user provided options.
   ADD_JVM_ARG_IF_OK([$with_boot_jdk_jvmargs],boot_jdk_jvmargs,[$JAVA])