RFR: 8267543: Post JEP 411 refactoring: security

Sean Mullan mullan at openjdk.java.net
Tue May 25 13:51:01 UTC 2021


On Mon, 24 May 2021 20:23:27 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> For all modified files in #4073 having "security", "crypto", or "ssl" in their names. Codes are refactored to bring a `@SuppressWarning` annotation nearer to the deprecated API usage and also shrink the size of its target.

src/java.security.jgss/share/classes/sun/security/jgss/krb5/Krb5Context.java line 709:

> 707:                         }
> 708:                         if (GSSUtil.useSubjectCredsOnly(caller)) {
> 709:                             @SuppressWarnings("removal")

It looks like you missed removing the @SuppressWarnings("removal") from the initSecContext method above.

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

PR: https://git.openjdk.java.net/jdk/pull/4172



More information about the security-dev mailing list