Java Cup
Inside Java

News and views from members of the Java team at Oracle

New candidate JEP: 396: Strongly Encapsulate JDK Internals by Default

Strongly encapsulate all internal elements of the JDK by default, except for critical internal APIs such as sun.misc.Unsafe. Allow end users to choose the relaxed strong encapsulation that has been the default since JDK 9.…


More at https://openjdk.java.net/jeps/396.