changeset 23367:20c3810174dc

8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath Reviewed-by: erikj
author simonis
date Mon, 10 Feb 2014 10:52:02 +0100
parents 75563515567f
children 7f11786d2d00
files nashorn/make/BuildNashorn.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) $@