RFR: 8281658: Add a security category to the java -XshowSettings option

Andrey Turbanov aturbanov at openjdk.org
Tue Jun 13 13:24:50 UTC 2023


On Fri, 9 Jun 2023 13:54:14 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

> New functionality in the -XshowSettings menu to display relevant information about JDK security configuration

src/java.base/share/classes/sun/launcher/LauncherHelper.java line 330:

> 328:         if (arg.toLowerCase(Locale.ROOT).equals("properties")) {
> 329:             printSecurityProperties();
> 330:         } else if(arg.toLowerCase(Locale.ROOT).equals("providers")) {

Suggestion:

        } else if (arg.toLowerCase(Locale.ROOT).equals("providers")) {

src/java.base/share/classes/sun/launcher/LauncherHelper.java line 332:

> 330:         } else if(arg.toLowerCase(Locale.ROOT).equals("providers")) {
> 331:             printSecurityProviderConfig();
> 332:         } else if(arg.toLowerCase(Locale.ROOT).equals("tls")) {

Suggestion:

        } else if (arg.toLowerCase(Locale.ROOT).equals("tls")) {

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14394#discussion_r1228125148
PR Review Comment: https://git.openjdk.org/jdk/pull/14394#discussion_r1228125325


More information about the core-libs-dev mailing list