Mandy Chung wrote:
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.CheckSomeMXBeanImplPackage.java line 45-50 & 58-60: should be called unconditionally since they should pass if java.management is present.
We need more unit tests for the case when jdk.management is absent. Thanks, Shanliang