8056064: Fix corba locale build problem on windows
authorerikj
Wed, 27 Aug 2014 10:59:34 +0200
changeset 26231 c815db24a6a0
parent 26048 c6cdd019b5cb
child 26232 ca9aa0749e5d
8056064: Fix corba locale build problem on windows Reviewed-by: alanb, tbell
corba/make/GensrcCorba.gmk
--- a/corba/make/GensrcCorba.gmk	Mon Aug 18 10:07:13 2014 +0100
+++ b/corba/make/GensrcCorba.gmk	Wed Aug 27 10:59:34 2014 +0200
@@ -50,8 +50,9 @@
     INCLUDES := com/sun/tools/corba/se/idl, \
     EXCLUDE_FILES := ResourceBundleUtil.java))
 
+# Force the language to english for predictable source code generation.
 TOOL_IDLJ_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/idlj_classes \
-    com.sun.tools.corba.se.idl.toJavaPortable.Compile
+    -Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
 
 ################################################################################