8209381: Default CDS classlist generation should run with an explicit locale setting
authorerikj
Wed, 05 Jun 2019 13:46:31 -0700
changeset 55243 647593fdea53
parent 55242 77b54b2822cc
child 55244 0d326e0f474c
8209381: Default CDS classlist generation should run with an explicit locale setting Reviewed-by: iklam, tbell
make/GenerateLinkOptData.gmk
--- a/make/GenerateLinkOptData.gmk	Wed Jun 05 16:01:50 2019 -0400
+++ b/make/GenerateLinkOptData.gmk	Wed Jun 05 13:46:31 2019 -0700
@@ -67,6 +67,7 @@
 	$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
 	$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
 	    -Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
+	    -Duser.language=en -Duser.country=US \
 	    -cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
 	    build.tools.classlist.HelloClasslist \
 	    2> $(LINK_OPT_DIR)/stderr > $(JLI_TRACE_FILE) \