8006872: Stop creating four jars with identical content in the new build system.
authorohrstrom
Thu, 31 Jan 2013 14:02:44 +0100
changeset 15412 a7763446dea2
parent 15389 f1478a6d25fd
child 15413 503de5a7b5ef
8006872: Stop creating four jars with identical content in the new build system. Reviewed-by: erikj
jaxp/makefiles/BuildJaxp.gmk
--- a/jaxp/makefiles/BuildJaxp.gmk	Wed Jul 05 18:38:32 2017 +0200
+++ b/jaxp/makefiles/BuildJaxp.gmk	Thu Jan 31 14:02:44 2013 +0100
@@ -30,8 +30,6 @@
 include MakeBase.gmk
 include JavaCompilation.gmk
 
-JAVAC_JARS ?= "-Xbootclasspath/p:$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar" \
-		-jar $(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar
 DISABLE_JAXP_WARNINGS:=-Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough
 
 # The generate new bytecode uses the new compiler for to generate bytecode
@@ -39,7 +37,7 @@
 # cannot necessarily be run with the boot jdk.
 $(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE_DEBUG,\
      JVM:=$(JAVA),\
-     JAVAC:=$(JAVAC_JARS),\
+     JAVAC:=$(NEW_JAVAC),\
      FLAGS:=-XDignore.symbol.file=true $(DISABLE_JAXP_WARNINGS) -g,\
      SERVER_DIR:=$(SJAVAC_SERVER_DIR),\
      SERVER_JVM:=$(SJAVAC_SERVER_JAVA)))