RFR: 8269424: Some SuppressWarnings annotations can be more localized

Pankaj Bansal pbansal at openjdk.java.net
Sun Jun 27 11:38:22 UTC 2021


On Sat, 26 Jun 2021 13:01:15 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This is a follow-on fix to [JDK-8264139](https://bugs.openjdk.java.net/browse/JDK-8264139), which added `@SuppressWarning` annotations to usages of deprecated security manager methods. @wangweij noticed that there was one pattern where the automated tool added the warning at a higher level than was needed. This fix moves the annotation down to be more localized in the two places that were affected.

Marked as reviewed by pbansal (Committer).

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

PR: https://git.openjdk.java.net/jfx/pull/546


More information about the openjfx-dev mailing list