8043138: Attach API should not require jvmstat rmi protocol

Reviewed-by: alanb, mchung, erikj, ihse
This commit is contained in:
Jaroslav Bachorik 2015-11-20 13:02:06 +01:00
parent c37f846672
commit cf63d3026e
2 changed files with 18 additions and 3 deletions

View File

@ -44,8 +44,8 @@ MAIN_MODULES += java.se java.smartcardio jdk.httpserver jdk.sctp \
jdk.vm.ci jdk.management
# providers
PROVIDER_MODULES += jdk.charsets jdk.crypto.ec jdk.crypto.pkcs11 jdk.jvmstat jdk.localedata \
jdk.naming.dns jdk.naming.rmi jdk.zipfs
PROVIDER_MODULES += jdk.charsets jdk.crypto.ec jdk.crypto.pkcs11 jdk.jvmstat jdk.jvmstat.rmi \
jdk.localedata jdk.naming.dns jdk.naming.rmi jdk.zipfs
# tools
TOOLS_MODULES += jdk.attach jdk.compiler jdk.dev \

View File

@ -1810,16 +1810,31 @@
<module>
<name>jdk.jvmstat</name>
<depend>java.base</depend>
<depend>java.rmi</depend>
<export>
<name>sun.jvmstat.monitor</name>
<to>jdk.attach</to>
<to>jdk.jcmd</to>
<to>jdk.jconsole</to>
<to>jdk.jvmstat.rmi</to>
</export>
<export>
<name>sun.jvmstat.monitor.event</name>
<to>jdk.jcmd</to>
<to>jdk.jvmstat.rmi</to>
</export>
<export>
<name>sun.jvmstat.perfdata.monitor</name>
<to>jdk.jvmstat.rmi</to>
</export>
</module>
<module>
<name>jdk.jvmstat.rmi</name>
<depend>java.base</depend>
<depend>java.rmi</depend>
<depend>jdk.jvmstat</depend>
<export>
<name>sun.jvmstat.monitor.remote</name>
<to>java.rmi</to>
</export>
</module>
<module>