aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorsimonis <none@none>2014-02-10 10:52:02 +0100
committersimonis <none@none>2014-02-10 10:52:02 +0100
commit00cf323ef2351c59af7605b4aeef6f8b043a2df8 (patch)
treee7889a6302f3ad32707044738f68120732b398c8 /make
parent29a489a0e7ea64249200f420c8e5466822acc702 (diff)
downloadnashorn-00cf323ef2351c59af7605b4aeef6f8b043a2df8.tar.gz
8033951: nasgen needs the newly build nasgen and nashorn classes in the bootclasspath
Reviewed-by: erikj
Diffstat (limited to 'make')
-rw-r--r--make/BuildNashorn.gmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/BuildNashorn.gmk b/make/BuildNashorn.gmk
index fc870442..a987874c 100644
--- a/make/BuildNashorn.gmk
+++ b/make/BuildNashorn.gmk
@@ -77,7 +77,7 @@ $(NASHORN_OUTPUTDIR)/classes/_the.nasgen.run: $(BUILD_NASGEN)
$(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) $@