After JDK-8294281, it is now possible to disable warnings for individual files instead for whole libraries. I used this opportunity to go through all disabled warnings in the security native libraries.
Any warnings that were only triggered in a few files were removed from the library as a whole, and changed to be only disabled for those files. Some warnings didn't trigger in any file anymore, and could just be removed. ------------- Commit messages: - 8295716: Minimize disabled warnings in security libs Changes: https://git.openjdk.org/jdk/pull/10787/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10787&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8295716 Stats: 4 lines in 2 files changed: 0 ins; 1 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/10787.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10787/head:pull/10787 PR: https://git.openjdk.org/jdk/pull/10787