--- a/nashorn/make/BuildNashorn.gmk Wed Jul 05 21:39:33 2017 +0200
+++ b/nashorn/make/BuildNashorn.gmk Tue May 03 10:39:00 2016 +0100
@@ -76,9 +76,10 @@
ifeq ($(BOOT_JDK_MODULAR), true)
NASGEN_OPTIONS := \
-cp $(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
- -Xpatch:$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
+ -Xpatch:java.base=$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes \
-XaddExports:java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
- -XaddExports:java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED
+ -XaddExports:java.base/jdk.internal.org.objectweb.asm.util=ALL-UNNAMED \
+ #
else
NASGEN_OPTIONS := \
-Xbootclasspath/p:$(BUILDTOOLS_OUTPUTDIR)/nasgen_classes
--- a/nashorn/test/TEST.ROOT Wed Jul 05 21:39:33 2017 +0200
+++ b/nashorn/test/TEST.ROOT Tue May 03 10:39:00 2016 +0100
@@ -8,4 +8,4 @@
groups=TEST.groups
# Minimum jtreg version
-requiredVersion=4.2 b01
+requiredVersion=4.2 b02