bugs.java.com
JDK-8197445: Implementation of JEP 181: Nest-Based Access Control
For example, the javac compiler places a top-level class or interface ... The reflection API of <code>java.lang.Class</code> is enhanced to support ...
For example, the javac compiler places a top-level class or interface ... The reflection API of <code>java.lang.Class</code> is enhanced to support ...
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.