--- old/common/autoconf/spec.gmk.in 2013-01-24 19:58:41.612904709 +0100 +++ new/common/autoconf/spec.gmk.in 2013-01-24 19:58:41.524904707 +0100 @@ -434,6 +434,11 @@ JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner +# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ... +BOOTSTRAP_JAVAC_JARS:="-Xbootclasspath/p:$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar" -cp $(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar +NEW_JAVAC = $(BOOTSTRAP_JAVAC_JARS) com.sun.tools.javac.Main +NEW_JAVADOC = $(BOOTSTRAP_JAVAC_JARS) com.sun.tools.javadoc.Main + # Base flags for RC # Guarding this against resetting value. Legacy make files include spec multiple # times.