On Mon, 24 May 2021 20:23:27 GMT, Weijun Wang <wei...@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

Reply via email to