The management interface for buffer pools (BufferPoolMXBean) is in the java.nio package. The rational for this was that JSR-174/JSR-163 had "reserved" java.lang.management for VM instrumentation. With modules coming in jdk8 it is time to re-examine this as it's awkward to include java.nio in the base module without include BufferPoolMXBean (a platform managed component and so has a dependency on JMX). This bug is submitted to re-examine this and get agreement to move this management interface to java.lang.management.
java.util.logging.PlatformLoggingMXBean should also be moved to avoid the
java.util.logging package be splitted across two modules.
This bug fix adds the following new SDK/JDK tests:
java/lang/management/BufferPoolMXBean/Basic.java
java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java
java/lang/management/PlatformLoggingMXBean/PlatformLoggingMXBeanTest.java
and this bug fix modifies the following existing SDK/JDK test:
java/lang/management/ManagementFactory/GetPlatformMXBeans.java
These new/revised tests are not valid for execution until JDK7-B138.
If these tests are executed on older bits, they will fail to compile.
However, this entry will make that failure appear on the known fail_list.