# HG changeset patch
# User duke
# Date 1499280316 -7200
# Node ID 98a47476a744904b7f9ab612a3e01f0dd2d2b590
# Parent 7bf24ea31a4d28b8e49fa2403fc6d9ae5463e524# Parent 6e6ce42fc70231a5b07aa992957662f9f19aae32
Merge
diff -r 7bf24ea31a4d -r 98a47476a744 .hgtags-top-repo
--- a/.hgtags-top-repo Thu Aug 13 14:15:23 2015 -0700
+++ b/.hgtags-top-repo Wed Jul 05 20:45:16 2017 +0200
@@ -319,3 +319,4 @@
57f3134853ecdd4a3ee2d4d26f22ba981d653d79 jdk9-b74
8fd6eeb878606e39c908f12535f34ebbfd225a4a jdk9-b75
d82072b699b880a1f647a5e2d7c0f86cec958941 jdk9-b76
+7972dc8f2a47f0c4cd8f02fa5662af41f028aa14 jdk9-b77
diff -r 7bf24ea31a4d -r 98a47476a744 make/CompileJavaModules.gmk
--- a/make/CompileJavaModules.gmk Thu Aug 13 14:15:23 2015 -0700
+++ b/make/CompileJavaModules.gmk Wed Jul 05 20:45:16 2017 +0200
@@ -491,6 +491,7 @@
$(CORBA_TOPDIR)/src/$1/share/classes \
$(JAXP_TOPDIR)/src/$1/share/classes \
$(JAXWS_TOPDIR)/src/$1/share/classes \
+ $(NASHORN_TOPDIR)/src/$1/share/classes \
#
ALL_SRC_DIRS = \
@@ -512,8 +513,8 @@
JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
# Create an empty directory to set the bootclasspath to.
-EMPTY_BOOTCLASSPATH := $(SUPPORT_OUTPUTDIR)/empty-dir
-$(call MakeDir, $(EMPTY_BOOTCLASSPATH))
+EMPTY_DIR := $(SUPPORT_OUTPUTDIR)/empty-dir
+$(call MakeDir, $(EMPTY_DIR))
# This macro sets up compilation of a module and declares dependencies for it.
# Param 1 - module name
@@ -534,7 +535,7 @@
$1_CLASSPATH := $$($1_CLASSPATH) $$(addprefix $(JDK_OUTPUTDIR)/modules/,jdk.hotspot.agent)
endif
$1_CLASSPATH := $$(subst $$(SPACE),$$(PATH_SEP),$$($1_CLASSPATH))
- $1_JAVAC_FLAGS := -bootclasspath $(EMPTY_BOOTCLASSPATH) -classpath "$$($1_CLASSPATH)" $$($1_ADD_JAVAC_FLAGS)
+ $1_JAVAC_FLAGS := -bootclasspath $(EMPTY_DIR) -extdirs $(EMPTY_DIR) -endorseddirs $(EMPTY_DIR) -classpath "$$($1_CLASSPATH)" $$($1_ADD_JAVAC_FLAGS)
$$(eval $$(call SetupJavaCompilation,$1, \
SETUP := $$(if $$($1_SETUP), $$($1_SETUP), GENERATE_JDKBYTECODE), \
diff -r 7bf24ea31a4d -r 98a47476a744 make/Images.gmk
--- a/make/Images.gmk Thu Aug 13 14:15:23 2015 -0700
+++ b/make/Images.gmk Wed Jul 05 20:45:16 2017 +0200
@@ -46,9 +46,9 @@
jdk.naming.dns jdk.naming.rmi jdk.scripting.nashorn jdk.zipfs
# tools
-TOOLS_MODULES += jdk.attach jdk.compiler jdk.dev jdk.internal.le jdk.javadoc jdk.jcmd jdk.jconsole \
- jdk.hotspot.agent jdk.hprof.agent jdk.jartool jdk.jdeps jdk.jdi jdk.jdwp.agent \
- jdk.policytool jdk.rmic jdk.xml.bind jdk.xml.ws
+TOOLS_MODULES += jdk.attach jdk.compiler jdk.dev jdk.internal.le jdk.scripting.nashorn.shell \
+ jdk.javadoc jdk.jcmd jdk.jconsole jdk.hotspot.agent jdk.hprof.agent jdk.jartool \
+ jdk.jdeps jdk.jdi jdk.jdwp.agent jdk.policytool jdk.rmic jdk.xml.bind jdk.xml.ws
ifeq ($(OPENJDK_TARGET_OS), windows)
PROVIDER_MODULES += jdk.crypto.mscapi
diff -r 7bf24ea31a4d -r 98a47476a744 modules.xml
--- a/modules.xml Thu Aug 13 14:15:23 2015 -0700
+++ b/modules.xml Wed Jul 05 20:45:16 2017 +0200
@@ -1799,6 +1799,25 @@
java.base
java.logging
java.scripting
+
+ jdk.nashorn.internal.runtime
+ jdk.scripting.nashorn.shell
+
+
+ jdk.nashorn.internal.objects
+ jdk.scripting.nashorn.shell
+
+
+ jdk.nashorn.tools
+ jdk.scripting.nashorn.shell
+
+
+
+ jdk.scripting.nashorn.shell
+ java.base
+ java.prefs
+ jdk.scripting.nashorn
+ jdk.internal.le
jdk.sctp