RFR : JDK-8151099 : java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present.

Mandy Chung mandy.chung at oracle.com
Wed Jul 13 11:06:22 UTC 2016


> On Jul 13, 2016, at 6:56 PM, Amit Sapre <amit.sapre at oracle.com> wrote:
> 
> Hello,
> Please review the fix 
>  
> Bug ID : https://bugs.openjdk.java.net/browse/JDK-8151099
> Webrev : http://cr.openjdk.java.net/~hb/sponsorship/8151099/webrev.00/

Looks okay.

You could rename the method to load_and_initialize_klass_or_null to follow the existing naming convention.

This patch needs to include the test attached in the bug report. 

Mandy



More information about the serviceability-dev mailing list