8007703: Remove com.sun.servicetag API
authormchung
Mon, 25 Mar 2013 17:19:16 -0700
changeset 16507 75bde2ca0061
parent 16506 2a43ffb8a318
child 16508 9238cf6209b3
8007703: Remove com.sun.servicetag API Reviewed-by: dholmes, alanb, erikj
jdk/make/com/sun/Makefile
jdk/make/common/Release.gmk
jdk/makefiles/CopyFiles.gmk
jdk/makefiles/CopyIntoClasses.gmk
jdk/makefiles/CreateJars.gmk
jdk/makefiles/GensrcProperties.gmk
jdk/makefiles/profile-includes.txt
jdk/makefiles/profile-rtjar-includes.txt
jdk/test/Makefile
--- a/jdk/make/com/sun/Makefile	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/make/com/sun/Makefile	Mon Mar 25 17:19:16 2013 -0700
@@ -45,7 +45,7 @@
 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
 
--- a/jdk/make/common/Release.gmk	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/make/common/Release.gmk	Mon Mar 25 17:19:16 2013 -0700
@@ -59,8 +59,7 @@
 # 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
--- a/jdk/makefiles/CopyFiles.gmk	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/CopyFiles.gmk	Mon Mar 25 17:19:16 2013 -0700
@@ -81,17 +81,6 @@
 ##########################################################################################
 
 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
--- a/jdk/makefiles/CopyIntoClasses.gmk	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/CopyIntoClasses.gmk	Mon Mar 25 17:19:16 2013 -0700
@@ -59,15 +59,6 @@
 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 += \
--- a/jdk/makefiles/CreateJars.gmk	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/CreateJars.gmk	Mon Mar 25 17:19:16 2013 -0700
@@ -866,8 +866,7 @@
 # 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
--- a/jdk/makefiles/GensrcProperties.gmk	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/GensrcProperties.gmk	Mon Mar 25 17:19:16 2013 -0700
@@ -194,7 +194,6 @@
 	$(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,\
--- a/jdk/makefiles/profile-includes.txt	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/profile-includes.txt	Mon Mar 25 17:19:16 2013 -0700
@@ -222,7 +222,6 @@
     oblique-fonts/fonts.dir \
     psfont.properties.ja \
     psfontj2d.properties \
-    servicetag/jdk_header.png \
     sound.properties
 
 FULL_JRE_OTHER_FILES := \
--- a/jdk/makefiles/profile-rtjar-includes.txt	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/makefiles/profile-rtjar-includes.txt	Mon Mar 25 17:19:16 2013 -0700
@@ -186,7 +186,6 @@
     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 \
--- a/jdk/test/Makefile	Mon Mar 25 14:29:13 2013 +0000
+++ b/jdk/test/Makefile	Mon Mar 25 17:19:16 2013 -0700
@@ -518,7 +518,6 @@
 	  jdk/asm \
 	  com/sun/org/apache/xerces \
           com/sun/corba \
-	  com/sun/servicetag \
 	  com/sun/tracing \
 	  sun/usagetracker)
 	$(call RunAgentvmBatch)