RFR 8140481: NoClassDefFoundError thrown by ManagementFactory.getPlatformMBeanServer

Mandy Chung mandy.chung at oracle.com
Mon Nov 2 20:19:29 UTC 2015


> On Nov 2, 2015, at 2:28 AM, Jaroslav Bachorik <jaroslav.bachorik at oracle.com> wrote:
> 
>>> Currently, the 'jdk.management' module is not a part of the JRE image
>>> even though it should be. This patch adds 'jdk.management' to
>>> PROVIDER_MODULES where it belongs.
>> jdk.management exports an API so I assume it should be in MAIN_MODULES.
> 
> Updated the patch to add the module to MAIN_MODULES - http://cr.openjdk.java.net/~jbachorik/8140481/webrev.01

I agree that jdk.management should be in MAIN_MODULES but not PROVIDER_MODULES list. Looks good.

Mandy


More information about the build-dev mailing list