RFR : 8207235: ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class) throws NPE
claes.redestad at oracle.com
Fri Jul 13 12:54:23 UTC 2018
the JavaNioAccess shared secret is being created by java.nio.Bits, but
since it's non-public SharedSecrets has been using an indirection to
ensure it gets loaded when needed. JDK-8201494 unintentionally broke
this indirect dependency.
One solution is to move the creation of the shared secret class to a
public class in java.nio, allowing for a direct dependency.
More information about the nio-dev