RFR 8042901: Allow com.sun.management to be in a different module to java.lang.management
Shanliang Jiang
shanliang.jiang at oracle.com
Fri Apr 3 07:30:52 UTC 2015
Mandy Chung wrote:
> CheckSomeMXBeanImplPackage.java
> line 45-50 & 58-60: should be called unconditionally since they
> should pass if java.management is present.
The method "check" checks that an MBean implementation must be from
"com.sun.management.internal", so even we look for an MXBean with its
standard MXBean class (java.lang.management.*), do "check" still needs
jdk.management module to be present.
We need more unit tests for the case when jdk.management is absent.
Thanks,
Shanliang
More information about the build-dev
mailing list