8153211: Convert build tool to use the new -XaddExports syntax in bootcycle build
Reviewed-by: alanb
--- a/nashorn/make/BuildNashorn.gmk Thu Mar 31 08:59:59 2016 -0700
+++ b/nashorn/make/BuildNashorn.gmk Thu Mar 31 11:50:34 2016 -0700
@@ -77,10 +77,8 @@
NASGEN_OPTIONS := \
-cp $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
-Xpatch:$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
- -XaddExports:$(subst $(SPACE),$(COMMA),$(strip \
- java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
- java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \
- ))
+ -XaddExports:java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
+ -XaddExports:java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED
else
NASGEN_OPTIONS := \
-Xbootclasspath/p:$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes