From 46eddd124334c4a027c62dee202e1e9e08272942 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Mon, 13 Sep 2021 18:50:02 -0700 Subject: [PATCH] J--illegal-access=permit tested sat, other settings problematic --- developers.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developers.html b/developers.html index b251446faf..1662dd6d1d 100644 --- a/developers.html +++ b/developers.html @@ -860,7 +860,7 @@ Note that the -d switch is necessary for domain users. JEP 396: Strongly Encapsulate JDK Internals by Default (JDK-8256299) <br /> 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. - With this change, the default value of the launcher option --illegal-access is now deny rather than permit. As a consequence, existing code that uses most internal classes, methods, or fields of the JDK will fail to run. Such code can be made to run on JDK 16 by specifying --illegal-access=permit. That option will, however, be removed in a future release. + With this change, the default value of the launcher option - -illegal-access is now deny rather than permit. As a consequence, existing code that uses most internal classes, methods, or fields of the JDK will fail to run. Such code can be made to run on JDK 16 by specifying --illegal-access=permit. That option will, however, be removed in a future release. For further details, please see JEP 396. </blockquote> </p> @@ -1638,7 +1638,7 @@ need to be connected to the NPS intranet. Append the following property to <code>netbeans_default_options</code> environment variable: <br /> - <code style="color:darkgreen"><b>-J--illegal-access=warn</b></code> + <code style="color:darkgreen"><b>-J--illegal-access=permit</b></code> </li> <li> <i>(Prior problem, @@ -3084,7 +3084,7 @@ which can lead to the Internet of Things becoming the Web of Things. </i> <a href="https://savage.nps.edu/developers.html">https://savage.nps.edu/developers.html</a> </blockquote> <blockquote> - Revised 23 August 2021. + Revised 13 September 2021. </blockquote> <p> -- GitLab