8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath
Reviewed-by: erikj
--- 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) $@