JEP proposed to target JDK 17: 403: Strongly Encapsulate JDK Internals

mark.reinhold at oracle.com mark.reinhold at oracle.com
Tue May 18 23:47:17 UTC 2021


The following JEP is proposed to target JDK 17:

  403: Strongly Encapsulate JDK Internals
       https://openjdk.java.net/jeps/403

  Summary: Strongly encapsulate all internal elements of the JDK, except
  for critical internal APIs such as sun.misc.Unsafe.  It will no longer
  be possible to relax the strong encapsulation of internal elements
  via a single command-line option, as was possible in JDK 9 through
  JDK 16.

Feedback on this proposal from JDK Project Committers and Reviewers [1]
is more than welcome, as are reasoned objections.  If no such objections
are raised by 23:59 UTC on Tuesday, 25 May, or if they’re raised and
then satisfactorily answered, then per the JEP 2.0 process proposal [2]
I’ll target this JEP to JDK 17.

- Mark


[1] https://openjdk.java.net/census#jdk
[2] https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html


More information about the jdk-dev mailing list