RFR: 8294466: Minimize disabled warnings in java.desktop
Magnus Ihse Bursie
ihse at openjdk.org
Thu Oct 20 10:43:19 UTC 2022
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 java.desktop 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.
(This is a reboot of https://github.com/openjdk/jdk/pull/10453)
-------------
Commit messages:
- 8294466: Minimize disabled warnings in java.desktop
Changes: https://git.openjdk.org/jdk/pull/10790/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10790&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8294466
Stats: 100 lines in 2 files changed: 43 ins; 18 del; 39 mod
Patch: https://git.openjdk.org/jdk/pull/10790.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10790/head:pull/10790
PR: https://git.openjdk.org/jdk/pull/10790
More information about the build-dev
mailing list