8043939: Remove management-agent.jar
authorsla
Mon, 16 Jun 2014 13:52:25 +0200
changeset 24965 bb8868e02e4d
parent 24964 296ec671ea4a
child 24966 18168751a5de
8043939: Remove management-agent.jar Reviewed-by: alanb
jdk/make/CreateJars.gmk
jdk/make/profile-includes.txt
jdk/make/src/classes/build/tools/buildmetaindex/BuildMetaIndex.java
jdk/src/share/classes/sun/management/manifest
--- a/jdk/make/CreateJars.gmk	Mon Jun 16 11:03:54 2014 +0200
+++ b/jdk/make/CreateJars.gmk	Mon Jun 16 13:52:25 2014 +0200
@@ -676,15 +676,6 @@
 
 ##########################################################################################
 
-#
-# This is an empty jar (only contains manifest) and fits poorly into framework...
-# create simple rule instead
-#
-$(IMAGES_OUTPUTDIR)/lib/management-agent.jar: $(JDK_TOPDIR)/src/share/classes/sun/management/manifest
-	$(JAR) cfm $@ $<
-
-##########################################################################################
-
 # 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
 # done here so that clean targets can be simple and accurate.
--- a/jdk/make/profile-includes.txt	Mon Jun 16 11:03:54 2014 +0200
+++ b/jdk/make/profile-includes.txt	Mon Jun 16 13:52:25 2014 +0200
@@ -132,7 +132,6 @@
     $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)prefs$(SHARED_LIBRARY_SUFFIX) \
     $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)sctp$(SHARED_LIBRARY_SUFFIX) \
     jvm.hprof.txt \
-    management-agent.jar \
     management/jmxremote.access \
     management/jmxremote.password.template \
     management/management.properties \
@@ -140,8 +139,7 @@
 
 PROFILE_3_JRE_OTHER_FILES :=
 
-PROFILE_3_JRE_JAR_FILES := \
-    management-agent.jar
+PROFILE_3_JRE_JAR_FILES :=
 
 
 FULL_JRE_BIN_FILES := \
--- a/jdk/make/src/classes/build/tools/buildmetaindex/BuildMetaIndex.java	Mon Jun 16 11:03:54 2014 +0200
+++ b/jdk/make/src/classes/build/tools/buildmetaindex/BuildMetaIndex.java	Mon Jun 16 13:52:25 2014 +0200
@@ -53,7 +53,6 @@
 com/sun/net/
 javax/
 com/sun/security/
-# management-agent.jar
 ! rt.jar
 org/w3c/
 com/sun/image/
--- a/jdk/src/share/classes/sun/management/manifest	Mon Jun 16 11:03:54 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-Premain-Class: sun.management.Agent
-Agent-Class: sun.management.Agent
-