8153211: Convert build tool to use the new -XaddExports syntax in bootcycle build
authormchung
Thu, 31 Mar 2016 11:50:34 -0700
changeset 36766 22ae7151aae7
parent 36765 dc5b9649cb4a
child 36767 45d0d1f141e3
8153211: Convert build tool to use the new -XaddExports syntax in bootcycle build Reviewed-by: alanb
nashorn/make/BuildNashorn.gmk
--- 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