8166965: Some small java build tools are still running with big JVM configuration
authorerikj
Tue, 04 Oct 2016 13:41:52 +0200
changeset 41225 900c91b20065
parent 41224 aa0e64b5711c
child 41226 da753c438a07
8166965: Some small java build tools are still running with big JVM configuration Reviewed-by: ihse
jdk/make/rmic/RmicCommon.gmk
--- a/jdk/make/rmic/RmicCommon.gmk	Tue Oct 04 13:34:49 2016 +0200
+++ b/jdk/make/rmic/RmicCommon.gmk	Tue Oct 04 13:41:52 2016 +0200
@@ -37,7 +37,7 @@
   RMIC_MAIN_CLASS := sun.rmi.rmic.Main
 endif
 
-RMIC := $(JAVA) $(INTERIM_OVERRIDE_MODULES_ARGS) $(RMIC_MAIN_CLASS)
+RMIC := $(JAVA_SMALL) $(INTERIM_OVERRIDE_MODULES_ARGS) $(RMIC_MAIN_CLASS)
 
 CLASSES_DIR := $(JDK_OUTPUTDIR)/modules
 # NOTE: If the smart javac dependency management is reintroduced, these classes risk