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 accessibility native code.
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. ------------- Commit messages: - 8295717: Minimize disabled warnings in accessibility native code Changes: https://git.openjdk.org/jdk/pull/10788/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10788&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8295717 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/10788.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10788/head:pull/10788 PR: https://git.openjdk.org/jdk/pull/10788