8166965: Some small java build tools are still running with big JVM configuration
authorerikj
Tue, 04 Oct 2016 13:41:52 +0200
changeset 41235 1c034834ae82
parent 41234 2fbe6823fef2
child 41236 1cc73f4110b4
8166965: Some small java build tools are still running with big JVM configuration Reviewed-by: ihse
corba/make/gensrc/Gensrc-java.corba.gmk
--- a/corba/make/gensrc/Gensrc-java.corba.gmk	Thu Sep 29 16:45:08 2016 +0000
+++ b/corba/make/gensrc/Gensrc-java.corba.gmk	Tue Oct 04 13:41:52 2016 +0200
@@ -38,7 +38,7 @@
     SRC := $(CORBA_TOPDIR)/make/src/classes, \
     BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes))
 
-TOOL_LOGUTIL_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
+TOOL_LOGUTIL_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/corba_tools_classes \
     build.tools.logutil.MC
 
 $(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
@@ -50,7 +50,7 @@
     EXCLUDE_FILES := ResourceBundleUtil.java module-info.java))
 
 # Force the language to english for predictable source code generation.
-TOOL_IDLJ_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
+TOOL_IDLJ_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/idlj_classes \
     -Duser.language=en com.sun.tools.corba.se.idl.toJavaPortable.Compile
 
 ################################################################################