Merge
authorduke
Wed, 05 Jul 2017 20:05:03 +0200
changeset 27174 c9853c76f7bc
parent 27173 566704615ade (current diff)
parent 27140 afcbbfccf839 (diff)
child 27200 caf4a88a97bd
Merge
--- a/.hgtags-top-repo	Fri Oct 24 12:32:53 2014 +0400
+++ b/.hgtags-top-repo	Wed Jul 05 20:05:03 2017 +0200
@@ -278,3 +278,4 @@
 e4ba01b726e263953ae129be37c94de6ed145b1d jdk9-b33
 087b23f35631e68e950496a36fce8ccca612966a jdk9-b34
 c173ba994245380fb11ef077d1e59823386840eb jdk9-b35
+201d4e235d597a25a2d3ee1404394789ba386119 jdk9-b36
--- a/common/autoconf/generated-configure.sh	Fri Oct 24 12:32:53 2014 +0400
+++ b/common/autoconf/generated-configure.sh	Wed Jul 05 20:05:03 2017 +0200
@@ -4328,7 +4328,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1412599039
+DATE_WHEN_GENERATED=1413533532
 
 ###############################################################################
 #
@@ -20119,7 +20119,7 @@
     if test "x$USER_RELEASE_SUFFIX" = x; then
       BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
       # Avoid [:alnum:] since it depends on the locale.
-      CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
+      CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
       USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     fi
   fi
--- a/common/autoconf/jdk-options.m4	Fri Oct 24 12:32:53 2014 +0400
+++ b/common/autoconf/jdk-options.m4	Wed Jul 05 20:05:03 2017 +0200
@@ -528,7 +528,7 @@
     if test "x$USER_RELEASE_SUFFIX" = x; then
       BUILD_DATE=`date '+%Y_%m_%d_%H_%M'`
       # Avoid [:alnum:] since it depends on the locale.
-      CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvqxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
+      CLEAN_USERNAME=`echo "$USER" | $TR -d -c 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'`
       USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
     fi
   fi
--- a/common/bin/compare_exceptions.sh.incl	Fri Oct 24 12:32:53 2014 +0400
+++ b/common/bin/compare_exceptions.sh.incl	Wed Jul 05 20:05:03 2017 +0200
@@ -71,7 +71,6 @@
 ./jre/lib/i386/libverify.so
 ./jre/lib/i386/server/libjvm.so
 ./bin/appletviewer
-./bin/extcheck
 ./bin/idlj
 ./bin/jar
 ./bin/jarsigner
@@ -159,7 +158,6 @@
 ./jre/lib/amd64/server/libjsig.so
 ./jre/lib/amd64/server/libjvm.so
 ./bin/appletviewer
-./bin/extcheck
 ./bin/idlj
 ./bin/jar
 ./bin/jarsigner
@@ -302,7 +300,6 @@
 ./jre/lib/i386/server/libjvm_db.so
 ./jre/lib/i386/server/libjvm_dtrace.so
 ./bin/appletviewer
-./bin/extcheck
 ./bin/idlj
 ./bin/jar
 ./bin/jarsigner
@@ -443,7 +440,6 @@
 ./jre/lib/amd64/server/libjvm_db.so
 ./jre/lib/amd64/server/libjvm_dtrace.so
 ./bin/amd64/appletviewer
-./bin/amd64/extcheck
 ./bin/amd64/idlj
 ./bin/amd64/jar
 ./bin/amd64/jarsigner
@@ -601,7 +597,6 @@
 ./jre/plugin/sparc/ns7/libjavaplugin_oji.so
 ./jre/lib/sparc/server/libjvm.so
 ./bin/appletviewer
-./bin/extcheck
 ./bin/idlj
 ./bin/jar
 ./bin/jarsigner
@@ -747,7 +742,6 @@
 ./jre/lib/sparcv9/libzip.so
 ./jre/lib/sparcv9/server/libjvm.so
 ./bin/sparcv9/appletviewer
-./bin/sparcv9/extcheck
 ./bin/sparcv9/idlj
 ./bin/sparcv9/jar
 ./bin/sparcv9/jarsigner
@@ -827,7 +821,6 @@
 ./jre/bin/jsoundds.dll
 ./jre/bin/server/jvm.dll
 ./bin/appletviewer.exe
-./bin/extcheck.exe
 ./bin/idlj.exe
 ./bin/jar.exe
 ./bin/jarsigner.exe
@@ -924,7 +917,6 @@
 
 ACCEPTED_BIN_DIFF="
 ./bin/appletviewer
-./bin/extcheck
 ./bin/idlj
 ./bin/jar
 ./bin/jarsigner
--- a/common/bin/unshuffle_list.txt	Fri Oct 24 12:32:53 2014 +0400
+++ b/common/bin/unshuffle_list.txt	Wed Jul 05 20:05:03 2017 +0200
@@ -1300,7 +1300,6 @@
 jdk/src/jdk.deploy.osx/macosx/native/libosx/JavaAppLauncher.m : jdk/src/macosx/native/apple/launcher/JavaAppLauncher.m
 jdk/src/jdk.deploy.osx/macosx/native/libosx/KeystoreImpl.m : jdk/src/macosx/native/apple/security/KeystoreImpl.m
 jdk/src/jdk.dev/share/classes/com/sun/jarsigner : jdk/src/share/classes/com/sun/jarsigner
-jdk/src/jdk.dev/share/classes/com/sun/tools/extcheck : jdk/src/share/classes/com/sun/tools/extcheck
 jdk/src/jdk.dev/share/classes/com/sun/tools/hat : jdk/src/share/classes/com/sun/tools/hat
 jdk/src/jdk.dev/share/classes/com/sun/tools/script/shell : jdk/src/share/classes/com/sun/tools/script/shell
 jdk/src/jdk.dev/share/classes/sun/security/tools/jarsigner : jdk/src/share/classes/sun/security/tools/jarsigner
--- a/make/CompileJavaModules.gmk	Fri Oct 24 12:32:53 2014 +0400
+++ b/make/CompileJavaModules.gmk	Wed Jul 05 20:05:03 2017 +0200
@@ -247,14 +247,6 @@
 # Exclude building of IIOP transport for RMI Connector
 java.management_EXCLUDES := com/sun/jmx/remote/protocol/iiop
 
-# Why is this in the open source tree?
-ifdef OPENJDK
-  java.management_EXCLUDES := \
-      com/sun/jmx/snmp \
-      sun/management/snmp \
-      #
-endif
-
 ifeq ($(RMICONNECTOR_IIOP), false)
   java.management_EXCLUDES += com/sun/jmx/remote/protocol/iiop
 endif
@@ -479,6 +471,11 @@
   $1_DEPS := $$(call FindDepsForModule, $1)
 
   $1_CLASSPATH := $$(addprefix $(JDK_OUTPUTDIR)/modules/,$$($1_DEPS))
+  # When crypto classes are prebuilt, need to look for classes already in 
+  # output dir.
+  ifneq ($(BUILD_CRYPTO), true)
+    $1_CLASSPATH += $(JDK_OUTPUTDIR)/modules/$1
+  endif
   ifeq ($1, jdk.hotspot.agent)
     ## The source of this module is compiled elsewhere, hotspot, and imported.
     ## Service types are required in the classpath when compiing module-info
--- a/make/Main.gmk	Fri Oct 24 12:32:53 2014 +0400
+++ b/make/Main.gmk	Wed Jul 05 20:05:03 2017 +0200
@@ -286,7 +286,7 @@
 
 test:
 	($(CD) $(SRC_ROOT)/test && $(MAKE) $(MAKE_ARGS) -j1 -k MAKEFLAGS= \
-	    JT_HOME=$(JT_HOME) PRODUCT_HOME=$(JDK_OUTPUT_DIR) \
+	    JT_HOME=$(JT_HOME) PRODUCT_HOME=$(JDK_OUTPUTDIR) \
 	    ALT_OUTPUTDIR=$(OUTPUT_ROOT) CONCURRENCY=$(JOBS) $(TEST)) || true
 
 test-make:
--- a/make/common/Modules.gmk	Fri Oct 24 12:32:53 2014 +0400
+++ b/make/common/Modules.gmk	Wed Jul 05 20:05:03 2017 +0200
@@ -41,9 +41,6 @@
     $(NASHORN_TOPDIR)/src \
     #
 
-# There are snmp classes in the open but they are not included in OpenJDK
-JAVA_MODULES_FILTER := jdk.snmp
-
 # Find all modules with java sources by looking in the source dirs
 define FindJavaModules
   $(filter-out $(JAVA_MODULES_FILTER), $(sort $(notdir \
--- a/make/common/NON_CORE_PKGS.gmk	Fri Oct 24 12:32:53 2014 +0400
+++ b/make/common/NON_CORE_PKGS.gmk	Wed Jul 05 20:05:03 2017 +0200
@@ -94,7 +94,8 @@
 endif
 
 JDK_PKGS = jdk \
-      jdk.net
+      jdk.net \
+      jdk.management.cmm
 
 # non-core packages in rt.jar
 NON_CORE_PKGS = $(DOMAPI_PKGS) \
--- a/modules.xml	Fri Oct 24 12:32:53 2014 +0400
+++ b/modules.xml	Wed Jul 05 20:05:03 2017 +0200
@@ -1579,6 +1579,10 @@
     <depend>jdk.crypto.ec</depend>
   </module>
   <module>
+    <name>jdk.crypto.ucrypto</name>
+    <depend>java.base</depend>
+  </module>
+  <module>
     <name>jdk.deploy.osx</name>
     <depend>java.base</depend>
     <depend>java.desktop</depend>