8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath
authorsimonis
Mon, 10 Feb 2014 10:52:02 +0100
changeset 23367 20c3810174dc
parent 22669 75563515567f
child 23368 7f11786d2d00
8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath Reviewed-by: erikj
nashorn/make/BuildNashorn.gmk
--- a/nashorn/make/BuildNashorn.gmk	Thu Jan 30 20:13:27 2014 +0100
+++ b/nashorn/make/BuildNashorn.gmk	Mon Feb 10 10:52:02 2014 +0100
@@ -77,7 +77,7 @@
 	$(RM) -rf $(@D)/jdk $(@D)/netscape
 	$(CP) -R -p $(NASHORN_OUTPUTDIR)/nashorn_classes/* $(@D)/
 	$(FIXPATH) $(JAVA) \
-	    -cp "$(NASHORN_OUTPUTDIR)/nasgen_classes$(PATH_SEP)$(NASHORN_OUTPUTDIR)/nashorn_classes" \
+	    -Xbootclasspath/p:"$(NASHORN_OUTPUTDIR)/nasgen_classes$(PATH_SEP)$(NASHORN_OUTPUTDIR)/nashorn_classes" \
 	    jdk.nashorn.internal.tools.nasgen.Main $(@D) jdk.nashorn.internal.objects $(@D)
 	$(TOUCH) $@