提交 ad1a6491 编写于 作者: M mduigou

8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)

Reviewed-by: alanb, chegar, dholmes, ksrini
上级 df4dbcd4
...@@ -236,10 +236,10 @@ endif ...@@ -236,10 +236,10 @@ endif
# These files do not appear in the build result of the old build. This # These files do not appear in the build result of the old build. This
# is because they are generated sources, but the AUTO_JAVA_FILES won't # is because they are generated sources, but the AUTO_JAVA_FILES won't
# pick them up since they aren't generated when the source dirs are # pick them up since they aren't generated when the source dirs are
# searched and they aren't referenced by any other classes so they won't # searched and they aren't referenced by any other classes so they won't
# be picked up by implicit compilation. On a rebuild, they are picked up # be picked up by implicit compilation. On a rebuild, they are picked up
# and compiled. Exclude them here to produce the same rt.jar as the old # and compiled. Exclude them here to produce the same rt.jar as the old
# build does when building just once. # build does when building just once.
EXFILES+=javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \ EXFILES+=javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \ javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
...@@ -307,19 +307,6 @@ $(eval $(call SetupJavaCompilation,BUILD_JDK,\ ...@@ -307,19 +307,6 @@ $(eval $(call SetupJavaCompilation,BUILD_JDK,\
########################################################################################## ##########################################################################################
ifndef OPENJDK
$(eval $(call SetupJavaCompilation,BUILD_ALTCLASSES,\
SETUP:=GENERATE_JDKBYTECODE,\
SRC:=$(JDK_TOPDIR)/src/closed/share/altclasses, \
BIN:=$(JDK_OUTPUTDIR)/altclasses_classes))
$(BUILD_ALTCLASSES): $(BUILD_JDK)
endif
##########################################################################################
$(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin: $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin:
$(MKDIR) -p $(@D) $(MKDIR) -p $(@D)
$(TOUCH) $@ $(TOUCH) $@
...@@ -402,7 +389,7 @@ endif ...@@ -402,7 +389,7 @@ endif
########################################################################################## ##########################################################################################
all: $(BUILD_JDK) $(BUILD_ALTCLASSES) $(BUILD_JOBJC) $(BUILD_JOBJC_HEADERS) $(COPY_EXTRA) \ all: $(BUILD_JDK) $(BUILD_JOBJC) $(BUILD_JOBJC_HEADERS) $(COPY_EXTRA) \
$(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \ $(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \
$(BUILD_ACCESSBRIDGE_32) $(BUILD_ACCESSBRIDGE_64) \ $(BUILD_ACCESSBRIDGE_32) $(BUILD_ACCESSBRIDGE_64) \
$(BUILD_ACCESSBRIDGE_LEGACY) $(BUILD_ACCESSBRIDGE_LEGACY)
......
...@@ -1004,15 +1004,6 @@ endif ...@@ -1004,15 +1004,6 @@ endif
########################################################################################## ##########################################################################################
ifndef OPENJDK
$(eval $(call SetupArchive,BUILD_ALT_RT_JAR,,\
SRCS:=$(JDK_OUTPUTDIR)/altclasses_classes,\
JAR:=$(IMAGES_OUTPUTDIR)/lib/alt-rt.jar))
endif
##########################################################################################
# This file is imported from hotspot in Import.gmk. Copying it into images/lib so that # This file is imported from hotspot in Import.gmk. Copying it into images/lib so that
# all jars can be found in one place when creating images in Images.gmk. It needs to be # all jars can be found in one place when creating images in Images.gmk. It needs to be
# done here so that clean targets can be simple and accurate. # done here so that clean targets can be simple and accurate.
......
...@@ -40,8 +40,8 @@ include profile-includes.txt ...@@ -40,8 +40,8 @@ include profile-includes.txt
# imported (signed jars) rather than built. # imported (signed jars) rather than built.
# #
# The incoming lists, eg PROFILE_1_JRE_JARS_FILES, are the jars to be # The incoming lists, eg PROFILE_1_JRE_JARS_FILES, are the jars to be
# included in this profile. They have the jar name relative to the lib # included in this profile. They have the jar name relative to the lib
# directory. We have to turn these into targets by adding the # directory. We have to turn these into targets by adding the
# $(IMAGES_OUTPUTDIR)/lib prefix # $(IMAGES_OUTPUTDIR)/lib prefix
# #
# Note that some jars may be optional depending on the type of build (jdk vs. # Note that some jars may be optional depending on the type of build (jdk vs.
...@@ -69,10 +69,6 @@ PROFILE_3_JARS := \ ...@@ -69,10 +69,6 @@ PROFILE_3_JARS := \
$(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_3_JRE_JAR_FILES)) \ $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_3_JRE_JAR_FILES)) \
$(PROFILE_2_JARS) $(PROFILE_2_JARS)
ifdef OPENJDK
FULL_JRE_JAR_FILES := $(filter-out alt-rt.jar, $(FULL_JRE_JAR_FILES))
endif
ifneq ($(ENABLE_JFR), true) ifneq ($(ENABLE_JFR), true)
FULL_JRE_JAR_FILES := $(filter-out jfr.jar, $(FULL_JRE_JAR_FILES)) FULL_JRE_JAR_FILES := $(filter-out jfr.jar, $(FULL_JRE_JAR_FILES))
endif endif
...@@ -107,7 +103,7 @@ endif ...@@ -107,7 +103,7 @@ endif
ifeq ($(OPENJDK_TARGET_OS),windows) ifeq ($(OPENJDK_TARGET_OS),windows)
ALL_JARS += $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar ALL_JARS += $(IMAGES_OUTPUTDIR)/lib/ext/sunmscapi.jar
endif endif
ifeq ($(OPENJDK_TARGET_OS),macosx) ifeq ($(OPENJDK_TARGET_OS),macosx)
ALL_JARS += $(IMAGES_OUTPUTDIR)/lib/JObjC.jar ALL_JARS += $(IMAGES_OUTPUTDIR)/lib/JObjC.jar
...@@ -142,7 +138,7 @@ ALL_JRE_BIN_FILES := \ ...@@ -142,7 +138,7 @@ ALL_JRE_BIN_FILES := \
$(PROFILE_1_JRE_BIN_FILES) \ $(PROFILE_1_JRE_BIN_FILES) \
$(PROFILE_2_JRE_BIN_FILES) \ $(PROFILE_2_JRE_BIN_FILES) \
$(PROFILE_3_JRE_BIN_FILES) \ $(PROFILE_3_JRE_BIN_FILES) \
$(FULL_JRE_BIN_FILES) $(FULL_JRE_BIN_FILES)
NOT_JRE_BIN_FILES := $(filter-out $(ALL_JRE_BIN_FILES), $(NEW_ALL_BIN_LIST)) NOT_JRE_BIN_FILES := $(filter-out $(ALL_JRE_BIN_FILES), $(NEW_ALL_BIN_LIST))
...@@ -151,18 +147,18 @@ ifeq ($(PROFILE), profile_1) ...@@ -151,18 +147,18 @@ ifeq ($(PROFILE), profile_1)
NOT_JRE_BIN_FILES += \ NOT_JRE_BIN_FILES += \
$(PROFILE_2_JRE_BIN_FILES) \ $(PROFILE_2_JRE_BIN_FILES) \
$(PROFILE_3_JRE_BIN_FILES) \ $(PROFILE_3_JRE_BIN_FILES) \
$(FULL_JRE_BIN_FILES) $(FULL_JRE_BIN_FILES)
endif endif
ifeq ($(PROFILE), profile_2) ifeq ($(PROFILE), profile_2)
NOT_JRE_BIN_FILES += \ NOT_JRE_BIN_FILES += \
$(PROFILE_3_JRE_BIN_FILES) \ $(PROFILE_3_JRE_BIN_FILES) \
$(FULL_JRE_BIN_FILES) $(FULL_JRE_BIN_FILES)
endif endif
ifeq ($(PROFILE), profile_3) ifeq ($(PROFILE), profile_3)
NOT_JRE_BIN_FILES += \ NOT_JRE_BIN_FILES += \
$(FULL_JRE_BIN_FILES) $(FULL_JRE_BIN_FILES)
endif endif
NOT_JRE_BIN_FILES := $(addprefix $(JDK_OUTPUTDIR)/bin/, $(NOT_JRE_BIN_FILES)) NOT_JRE_BIN_FILES := $(addprefix $(JDK_OUTPUTDIR)/bin/, $(NOT_JRE_BIN_FILES))
...@@ -175,7 +171,7 @@ ALL_JRE_LIB_FILES := \ ...@@ -175,7 +171,7 @@ ALL_JRE_LIB_FILES := \
$(PROFILE_1_JRE_LIB_FILES) \ $(PROFILE_1_JRE_LIB_FILES) \
$(PROFILE_2_JRE_LIB_FILES) \ $(PROFILE_2_JRE_LIB_FILES) \
$(PROFILE_3_JRE_LIB_FILES) \ $(PROFILE_3_JRE_LIB_FILES) \
$(FULL_JRE_LIB_FILES) $(FULL_JRE_LIB_FILES)
NOT_JRE_LIB_FILES := $(filter-out $(ALL_JRE_LIB_FILES), $(NEW_ALL_LIB_LIST)) NOT_JRE_LIB_FILES := $(filter-out $(ALL_JRE_LIB_FILES), $(NEW_ALL_LIB_LIST))
...@@ -191,18 +187,18 @@ ifeq ($(PROFILE), profile_1) ...@@ -191,18 +187,18 @@ ifeq ($(PROFILE), profile_1)
NOT_JRE_LIB_FILES += \ NOT_JRE_LIB_FILES += \
$(PROFILE_2_JRE_LIB_FILES) \ $(PROFILE_2_JRE_LIB_FILES) \
$(PROFILE_3_JRE_LIB_FILES) \ $(PROFILE_3_JRE_LIB_FILES) \
$(FULL_JRE_LIB_FILES) $(FULL_JRE_LIB_FILES)
endif endif
ifeq ($(PROFILE), profile_2) ifeq ($(PROFILE), profile_2)
NOT_JRE_LIB_FILES += \ NOT_JRE_LIB_FILES += \
$(PROFILE_3_JRE_LIB_FILES) \ $(PROFILE_3_JRE_LIB_FILES) \
$(FULL_JRE_LIB_FILES) $(FULL_JRE_LIB_FILES)
endif endif
ifeq ($(PROFILE), profile_3) ifeq ($(PROFILE), profile_3)
NOT_JRE_LIB_FILES += \ NOT_JRE_LIB_FILES += \
$(FULL_JRE_LIB_FILES) $(FULL_JRE_LIB_FILES)
endif endif
# Exclude the custom jar files as these will be added back via a special rule # Exclude the custom jar files as these will be added back via a special rule
...@@ -210,7 +206,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS) ...@@ -210,7 +206,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS)
############################################################################### ###############################################################################
# Customization of rt.jar file contents # Customization of rt.jar file contents
# These are expressed as exclusions from everything found in the # These are expressed as exclusions from everything found in the
# JDK_OUTPUTDIR/classes directory # JDK_OUTPUTDIR/classes directory
############################################################################### ###############################################################################
...@@ -231,8 +227,8 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS) ...@@ -231,8 +227,8 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS)
# #
# These are specific types that must be included within a package. # These are specific types that must be included within a package.
# There are two cases: # There are two cases:
# - individual types in a package that is otherwise excluded at this # - individual types in a package that is otherwise excluded at this
# profile level. The only arises if there are split packages. # profile level. The only arises if there are split packages.
# #
# - A higher-level package is included in a high profile where a subpackage # - A higher-level package is included in a high profile where a subpackage
# is included in a lower profile. Including the package in the high profile # is included in a lower profile. Including the package in the high profile
...@@ -247,7 +243,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS) ...@@ -247,7 +243,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS)
# containing package is include. Again this occurs with split packges. # containing package is include. Again this occurs with split packges.
# #
# So the exclude list for each profile consists of the include lists # So the exclude list for each profile consists of the include lists
# for all profiles above it, together with any explicitly excluded types. # for all profiles above it, together with any explicitly excluded types.
# This is then combined with the overall RT_JAR_EXCLUDES list (which covers # This is then combined with the overall RT_JAR_EXCLUDES list (which covers
# things that go into other jar files). # things that go into other jar files).
# #
...@@ -257,7 +253,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS) ...@@ -257,7 +253,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS)
# profile 3 includes the entire package, but it is harmless to add them # profile 3 includes the entire package, but it is harmless to add them
# explicitly, and complex to determine if we still need to include them. # explicitly, and complex to determine if we still need to include them.
# #
# Need a way to express: # Need a way to express:
# for (int i = profile+1; i < 4; i++) # for (int i = profile+1; i < 4; i++)
# RT_JAR_EXCLUDES += PROFILE_$i_RTJAR_INCLUDE_PACKAGES # RT_JAR_EXCLUDES += PROFILE_$i_RTJAR_INCLUDE_PACKAGES
# #
...@@ -267,7 +263,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS) ...@@ -267,7 +263,7 @@ NOT_JRE_LIB_FILES += $(CUSTOM_JARS)
# #
# These are META-INF/services/ entries found in resources.jar. Together # These are META-INF/services/ entries found in resources.jar. Together
# resources.jar and rt.jar hold the contents of the classes directory, (the # resources.jar and rt.jar hold the contents of the classes directory, (the
# classes in rt.jar and everything else in resources.jar).Hence the # classes in rt.jar and everything else in resources.jar).Hence the
# include/exclude information for resources.jar is tied to that of rt.jar # include/exclude information for resources.jar is tied to that of rt.jar
include profile-rtjar-includes.txt include profile-rtjar-includes.txt
...@@ -324,7 +320,7 @@ endif ...@@ -324,7 +320,7 @@ endif
# Filter out non-OpenJDK services # Filter out non-OpenJDK services
ifdef OPENJDK ifdef OPENJDK
EXCLUDED_SERVICES := META-INF/services/javax.script.ScriptEngineFactory EXCLUDED_SERVICES := META-INF/services/javax.script.ScriptEngineFactory
PROFILE_INCLUDE_METAINF_SERVICES := $(filter-out $(EXCLUDED_SERVICES),$(PROFILE_INCLUDE_METAINF_SERVICES)) PROFILE_INCLUDE_METAINF_SERVICES := $(filter-out $(EXCLUDED_SERVICES),$(PROFILE_INCLUDE_METAINF_SERVICES))
endif endif
......
...@@ -107,14 +107,14 @@ PROFILE_2_JRE_BIN_FILES := \ ...@@ -107,14 +107,14 @@ PROFILE_2_JRE_BIN_FILES := \
rmid$(EXE_SUFFIX) \ rmid$(EXE_SUFFIX) \
rmiregistry$(EXE_SUFFIX) rmiregistry$(EXE_SUFFIX)
PROFILE_2_JRE_LIB_FILES := PROFILE_2_JRE_LIB_FILES :=
PROFILE_2_JRE_OTHER_FILES := PROFILE_2_JRE_OTHER_FILES :=
PROFILE_2_JRE_JAR_FILES := PROFILE_2_JRE_JAR_FILES :=
PROFILE_3_JRE_BIN_FILES := PROFILE_3_JRE_BIN_FILES :=
PROFILE_3_JRE_LIB_FILES := \ PROFILE_3_JRE_LIB_FILES := \
$(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)hprof$(SHARED_LIBRARY_SUFFIX) \ $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)hprof$(SHARED_LIBRARY_SUFFIX) \
...@@ -138,7 +138,7 @@ PROFILE_3_JRE_LIB_FILES := \ ...@@ -138,7 +138,7 @@ PROFILE_3_JRE_LIB_FILES := \
management/management.properties \ management/management.properties \
management/snmp.acl.template management/snmp.acl.template
PROFILE_3_JRE_OTHER_FILES := PROFILE_3_JRE_OTHER_FILES :=
PROFILE_3_JRE_JAR_FILES := \ PROFILE_3_JRE_JAR_FILES := \
management-agent.jar management-agent.jar
...@@ -171,7 +171,6 @@ FULL_JRE_LIB_FILES := \ ...@@ -171,7 +171,6 @@ FULL_JRE_LIB_FILES := \
$(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)splashscreen$(SHARED_LIBRARY_SUFFIX) \ $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)splashscreen$(SHARED_LIBRARY_SUFFIX) \
$(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)t2k$(SHARED_LIBRARY_SUFFIX) \ $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)t2k$(SHARED_LIBRARY_SUFFIX) \
$(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)unpack$(SHARED_LIBRARY_SUFFIX) \ $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)unpack$(SHARED_LIBRARY_SUFFIX) \
alt-rt.jar \
charsets.jar \ charsets.jar \
cmm/CIEXYZ.pf \ cmm/CIEXYZ.pf \
cmm/GRAY.pf \ cmm/GRAY.pf \
...@@ -248,7 +247,6 @@ FULL_JRE_OTHER_FILES := \ ...@@ -248,7 +247,6 @@ FULL_JRE_OTHER_FILES := \
man/man1/unpack200.1 man/man1/unpack200.1
FULL_JRE_JAR_FILES := \ FULL_JRE_JAR_FILES := \
alt-rt.jar \
charsets.jar \ charsets.jar \
ext/cldrdata.jar \ ext/cldrdata.jar \
ext/dnsns.jar \ ext/dnsns.jar \
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @summary Verify that cloned TreeMap gets new keyset * @summary Verify that cloned TreeMap gets new keyset
* @author david.buck@oracle.com * @author david.buck@oracle.com
* @run main/othervm Clone * @run main/othervm Clone
* @run main/othervm -XX:+AggressiveOpts Clone
*/ */
import java.util.TreeMap; import java.util.TreeMap;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册