From fde79fa295e3344842de2ff35e4033aa18744a2b Mon Sep 17 00:00:00 2001 From: mchung Date: Mon, 25 Mar 2013 17:19:16 -0700 Subject: [PATCH] 8007703: Remove com.sun.servicetag API Reviewed-by: dholmes, alanb, erikj --- make/com/sun/Makefile | 2 +- make/common/Release.gmk | 3 +-- makefiles/CopyFiles.gmk | 11 ----------- makefiles/CopyIntoClasses.gmk | 9 --------- makefiles/CreateJars.gmk | 3 +-- makefiles/GensrcProperties.gmk | 1 - makefiles/profile-includes.txt | 1 - makefiles/profile-rtjar-includes.txt | 1 - test/Makefile | 1 - 9 files changed, 3 insertions(+), 29 deletions(-) diff --git a/make/com/sun/Makefile b/make/com/sun/Makefile index 8b9d9dbe2..052cd5410 100644 --- a/make/com/sun/Makefile +++ b/make/com/sun/Makefile @@ -45,7 +45,7 @@ SUBDIRS_management = jmx SUBDIRS_desktop = image SUBDIRS_enterprise = crypto/provider jndi \ org rowset net/httpserver -SUBDIRS_misc = $(SCRIPT_SUBDIR) tracing servicetag nio demo +SUBDIRS_misc = $(SCRIPT_SUBDIR) tracing nio demo SUBDIRS_tools = tools diff --git a/make/common/Release.gmk b/make/common/Release.gmk index 5371d044b..2cdfc0ef6 100644 --- a/make/common/Release.gmk +++ b/make/common/Release.gmk @@ -59,8 +59,7 @@ EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ # This is an interim solution until the ct.sym is replaced # with a new module system (being discussed for JDK 8). # -EXPORTED_PRIVATE_PKGS = com.sun.servicetag \ - com.oracle.net \ +EXPORTED_PRIVATE_PKGS = com.oracle.net \ com.oracle.nio # 64-bit solaris has a few special cases. We define the variable diff --git a/makefiles/CopyFiles.gmk b/makefiles/CopyFiles.gmk index 9c4dc0d7d..0b4bbfd68 100644 --- a/makefiles/CopyFiles.gmk +++ b/makefiles/CopyFiles.gmk @@ -81,17 +81,6 @@ endif ########################################################################################## LIBDIR = $(JDK_OUTPUTDIR)/lib -SERVICETAG_LIBDIR = $(LIBDIR)/servicetag - -$(SERVICETAG_LIBDIR)/jdk_header.png: $(JDK_TOPDIR)/src/share/classes/com/sun/servicetag/resources/jdk_header.png - $(MKDIR) -p $(@D) - $(RM) $@ - $(CP) $< $@ - $(CHMOD) 444 $@ - -COPY_FILES += $(SERVICETAG_LIBDIR)/jdk_header.png - -########################################################################################## MGMT_LIBDIR = $(LIBDIR)/management MGMT_LIB_SRC = $(JDK_TOPDIR)/src/share/lib/management diff --git a/makefiles/CopyIntoClasses.gmk b/makefiles/CopyIntoClasses.gmk index d5ec85731..549a58efd 100644 --- a/makefiles/CopyIntoClasses.gmk +++ b/makefiles/CopyIntoClasses.gmk @@ -59,15 +59,6 @@ COPY_FILES += \ COPY_FILES += \ $(JDK_TOPDIR)/src/share/classes/sun/jvmstat/perfdata/resources/aliasmap -# Servicetag resources -SERVICETAG_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/com/sun/servicetag/resources -COPY_FILES += \ - $(SERVICETAG_RESOURCES_DIR)/product_registration.xsd \ - $(SERVICETAG_RESOURCES_DIR)/register.html \ - $(SERVICETAG_RESOURCES_DIR)/register_ja.html \ - $(SERVICETAG_RESOURCES_DIR)/register_zh_CN.html \ - $(wildcard $(SERVICETAG_RESOURCES_DIR)/javase_*.properties) - # JConsole resources JCONSOLE_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources COPY_FILES += \ diff --git a/makefiles/CreateJars.gmk b/makefiles/CreateJars.gmk index 61edcfa78..523af3dc9 100644 --- a/makefiles/CreateJars.gmk +++ b/makefiles/CreateJars.gmk @@ -866,8 +866,7 @@ EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \ # This is an interim solution until the ct.sym is replaced # with a new module system (being discussed for JDK 8). # -EXPORTED_PRIVATE_PKGS = com.sun.servicetag \ - com.oracle.net \ +EXPORTED_PRIVATE_PKGS = com.oracle.net \ com.oracle.nio $(IMAGES_OUTPUTDIR)/symbols/_the.symbols: $(IMAGES_OUTPUTDIR)/lib/rt.jar diff --git a/makefiles/GensrcProperties.gmk b/makefiles/GensrcProperties.gmk index 00598f4e9..3ef3a5384 100644 --- a/makefiles/GensrcProperties.gmk +++ b/makefiles/GensrcProperties.gmk @@ -194,7 +194,6 @@ $(eval $(call add_properties_to_clean,COM_SUN_ROWSET_HK,\ $(call CacheFind,$(JDK_TOPDIR)/src/share/classes/com/sun/rowset)),\ %zh_TW,%zh_HK)) -#com/sun/servicetag/resources #com/sun/swing/internal/plaf/basic/resources $(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_BASIC,\ $(filter %.properties,\ diff --git a/makefiles/profile-includes.txt b/makefiles/profile-includes.txt index b4eb6f83f..17e554f42 100644 --- a/makefiles/profile-includes.txt +++ b/makefiles/profile-includes.txt @@ -222,7 +222,6 @@ FULL_JRE_LIB_FILES := \ oblique-fonts/fonts.dir \ psfont.properties.ja \ psfontj2d.properties \ - servicetag/jdk_header.png \ sound.properties FULL_JRE_OTHER_FILES := \ diff --git a/makefiles/profile-rtjar-includes.txt b/makefiles/profile-rtjar-includes.txt index f7251d941..a90af142d 100644 --- a/makefiles/profile-rtjar-includes.txt +++ b/makefiles/profile-rtjar-includes.txt @@ -186,7 +186,6 @@ FULL_JRE_RTJAR_INCLUDE_PACKAGES := \ com/sun/media/sound \ com/sun/org/glassfish \ com/sun/org/omg \ - com/sun/servicetag \ com/sun/swing \ com/sun/xml/internal/bind \ com/sun/xml/internal/fastinfoset \ diff --git a/test/Makefile b/test/Makefile index 69d5dac3d..2b4bfa145 100644 --- a/test/Makefile +++ b/test/Makefile @@ -518,7 +518,6 @@ jdk_other: $(call TestDirs, \ jdk/asm \ com/sun/org/apache/xerces \ com/sun/corba \ - com/sun/servicetag \ com/sun/tracing \ sun/usagetracker) $(call RunAgentvmBatch) -- GitLab