--- old/common/autoconf/generated-configure.sh 2014-02-06 11:25:14.367858439 +0000 +++ new/common/autoconf/generated-configure.sh 2014-02-06 11:25:14.203858444 +0000 @@ -821,6 +821,7 @@ JDK_MAJOR_VERSION USER_RELEASE_SUFFIX COMPRESS_JARS +RMICONNECTOR_IIOP UNLIMITED_CRYPTO CACERTS_FILE TEST_IN_BUILD @@ -1029,6 +1030,7 @@ enable_hotspot_test_in_build with_cacerts_file enable_unlimited_crypto +enable_rmiconnector_iiop with_milestone with_update_version with_user_release_suffix @@ -1807,6 +1809,9 @@ run the Queens test after Hotspot build [disabled] --enable-unlimited-crypto Enable unlimited crypto policy [disabled] + --enable-rmiconnector-iiop + enable the JMX RMIConnector iiop transport + [disabled] --disable-debug-symbols disable generation of debug symbols [enabled] --disable-zip-debug-info disable zipping of debug-info files [enabled] @@ -4087,7 +4092,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1391160222 +DATE_WHEN_GENERATED=1391175012 ############################################################################### # @@ -19374,6 +19379,22 @@ ############################################################################### + # + # --enable-rmiconnector-iiop + # + # Check whether --enable-rmiconnector-iiop was given. +if test "${enable_rmiconnector_iiop+set}" = set; then : + enableval=$enable_rmiconnector_iiop; +fi + + if test "x$enable_rmiconnector_iiop" = "xyes"; then + RMICONNECTOR_IIOP=true + else + RMICONNECTOR_IIOP=false + fi + + + ############################################################################### # # Compress jars # --- old/common/autoconf/jdk-options.m4 2014-02-06 11:25:15.875858405 +0000 +++ new/common/autoconf/jdk-options.m4 2014-02-06 11:25:15.783858407 +0000 @@ -426,6 +426,19 @@ ############################################################################### # + # --enable-rmiconnector-iiop + # + AC_ARG_ENABLE(rmiconnector-iiop, [AS_HELP_STRING([--enable-rmiconnector-iiop], + [enable the JMX RMIConnector iiop transport @<:@disabled@:>@])]) + if test "x$enable_rmiconnector_iiop" = "xyes"; then + RMICONNECTOR_IIOP=true + else + RMICONNECTOR_IIOP=false + fi + AC_SUBST(RMICONNECTOR_IIOP) + + ############################################################################### + # # Compress jars # COMPRESS_JARS=false --- old/common/autoconf/spec.gmk.in 2014-02-06 11:25:16.347858394 +0000 +++ new/common/autoconf/spec.gmk.in 2014-02-06 11:25:16.227858397 +0000 @@ -286,6 +286,9 @@ # Enable unlimited crypto policy UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@ +# Enable RMIConnector IIOP transport +RMICONNECTOR_IIOP=@RMICONNECTOR_IIOP@ + # Necessary additional compiler flags to compile X11 X_CFLAGS:=@X_CFLAGS@ X_LIBS:=@X_LIBS@ --- old/jdk/make/CompileJavaClasses.gmk 2014-02-06 11:25:17.115858377 +0000 +++ new/jdk/make/CompileJavaClasses.gmk 2014-02-06 11:25:16.815858383 +0000 @@ -44,6 +44,10 @@ com/sun/tools/example/debug/event \ com/sun/tools/example/debug/gui +ifeq ($(RMICONNECTOR_IIOP), false) + EXCLUDES += com/sun/jmx/remote/protocol/iiop +endif + ifdef OPENJDK EXCLUDES += sun/dc \ com/sun/jmx/snmp \ --- old/jdk/make/GenerateClasses.gmk 2014-02-06 11:25:17.847858359 +0000 +++ new/jdk/make/GenerateClasses.gmk 2014-02-06 11:25:17.547858367 +0000 @@ -89,21 +89,25 @@ # For RMI/IIOP call rmic a second time with -standardPackage option # so that *_tie classes are generated in package without the prefix # org.omg.stub (6375696) -JMAN_RMI_CLASSES := javax.management.remote.rmi.RMIConnectionImpl \ +JMX_RMI_CLASSES := javax.management.remote.rmi.RMIConnectionImpl \ javax.management.remote.rmi.RMIServerImpl +GENRMIIIOPCLASSES := +ifneq ($(RMICONNECTOR_IIOP), false) + GENRMIIIOPCLASSES := $(RMICONNECTOR_IIOP) +endif $(eval $(call SetupRMICompilation,RMI_IIOP, \ - CLASSES := $(JMAN_RMI_CLASSES), \ + CLASSES := $(JMX_RMI_CLASSES), \ CLASSES_DIR := $(CLASSES_DIR), \ STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \ RUN_V12 := true, \ - RUN_IIOP := true, \ - RUN_IIOP_STDPKG := true)) + RUN_IIOP := $(GENRMIIIOPCLASSES), \ + RUN_IIOP_STDPKG := $(GENRMIIIOPCLASSES))) GENCLASSES += $(RMI_IIOP) # Keep generated RMI/JRMP Stub source files and copy them to RMIC_GENSRC_DIR # so that javadoc can include them in the API (4997471) $(eval $(call SetupRMICompilation,RMI_SRC, \ - CLASSES := $(JMAN_RMI_CLASSES), \ + CLASSES := $(JMX_RMI_CLASSES), \ CLASSES_DIR := $(CLASSES_DIR), \ STUB_CLASSES_DIR := $(RMIC_GENSRC_DIR), \ RUN_V12 := true, \ --- old/langtools/test/tools/javac/profiles/ProfileOptionTest.java 2014-02-06 11:25:18.479858345 +0000 +++ new/langtools/test/tools/javac/profiles/ProfileOptionTest.java 2014-02-06 11:25:18.275858350 +0000 @@ -184,8 +184,7 @@ com.sun.security.auth.PolicyFile.class); // specifically included in 3 init(Profile.DEFAULT, - java.beans.BeanInfo.class, - javax.management.remote.rmi._RMIServer_Stub.class); // specifically excluded in 3 + java.beans.BeanInfo.class); } void init(Profile p, Class... classes) {