From 16f9ed4944e03924b61b22e8711107fbd8d3e904 Mon Sep 17 00:00:00 2001 From: Shanliang Jiang Date: Fri, 17 Apr 2015 09:36:32 +0200 Subject: [PATCH] 8042901: Allow com.sun.management to be in a different module to java.lang.management Reviewed-by: mchung, dfuchs, erikj, jbachorik --- common/bin/unshuffle_list.txt | 4 ++-- make/Images.gmk | 2 +- modules.xml | 14 +++++++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/common/bin/unshuffle_list.txt b/common/bin/unshuffle_list.txt index a27c192e7fc..93a57e5f45c 100644 --- a/common/bin/unshuffle_list.txt +++ b/common/bin/unshuffle_list.txt @@ -1,5 +1,5 @@ # -# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -1156,7 +1156,6 @@ jdk/src/java.management/share/classes/com/sun/jmx/defaults : jdk/src/share/class jdk/src/java.management/share/classes/com/sun/jmx/interceptor : jdk/src/share/classes/com/sun/jmx/interceptor jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver : jdk/src/share/classes/com/sun/jmx/mbeanserver jdk/src/java.management/share/classes/com/sun/jmx/remote : jdk/src/share/classes/com/sun/jmx/remote -jdk/src/java.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management jdk/src/java.management/share/classes/java/lang/management : jdk/src/share/classes/java/lang/management jdk/src/java.management/share/classes/javax/management : jdk/src/share/classes/javax/management jdk/src/java.management/share/classes/mgmt-overview.html : jdk/src/share/classes/com/sun/management/mgmt-overview.html @@ -1426,6 +1425,7 @@ jdk/src/jdk.localedata/share/classes/sun/util/resources/tr : jdk/src/share/class jdk/src/jdk.localedata/share/classes/sun/util/resources/uk : jdk/src/share/classes/sun/util/resources/uk jdk/src/jdk.localedata/share/classes/sun/util/resources/vi : jdk/src/share/classes/sun/util/resources/vi jdk/src/jdk.localedata/share/classes/sun/util/resources/zh : jdk/src/share/classes/sun/util/resources/zh +jdk/src/jdk.management/share/classes/com/sun/management : jdk/src/share/classes/com/sun/management jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/dns : jdk/src/share/classes/com/sun/jndi/dns jdk/src/jdk.naming.dns/share/classes/com/sun/jndi/url/dns : jdk/src/share/classes/com/sun/jndi/url/dns jdk/src/jdk.naming.dns/share/classes/META-INF/services : jdk/src/share/classes/sun/net/spi/nameservice/dns/META-INF/services diff --git a/make/Images.gmk b/make/Images.gmk index 3a8171416c7..ee4a4e7d7f7 100644 --- a/make/Images.gmk +++ b/make/Images.gmk @@ -66,7 +66,7 @@ JDK_MODULES := $(JRE_MODULES) $(TOOLS_MODULES) # compact3 builds have additional modules JDK_COMPACT3_MODULES := java.compact3 java.smartcardio jdk.httpserver jdk.naming.dns \ - jdk.naming.rmi jdk.sctp jdk.security.auth + jdk.naming.rmi jdk.sctp jdk.security.auth jdk.management # Replacing double-comma with a single comma is to workaround the issue # with some version of make on windows that doesn't substitute spaces diff --git a/modules.xml b/modules.xml index 92ed3f311b8..3d5841471d6 100644 --- a/modules.xml +++ b/modules.xml @@ -784,9 +784,6 @@ java.logging java.naming java.rmi - - com.sun.management - java.lang.management @@ -820,9 +817,11 @@ sun.management jdk.jconsole + jdk.management sun.management.spi + jdk.management jdk.management.cmm @@ -1668,6 +1667,7 @@ java.rmi jdk.attach jdk.jvmstat + jdk.management com.sun.tools.jconsole @@ -1719,6 +1719,14 @@ jdk.localedata java.base + + jdk.management + java.base + java.management + + com.sun.management + + jdk.naming.dns java.base