RFR: 8294466: Minimize disabled warnings in java.desktop

Magnus Ihse Bursie ihse at openjdk.org
Tue Oct 18 22:24:39 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.

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

Commit messages:
 - Merge branch 'master' into java.desktop-warnings-per-file
 - Fix java.desktop-static-libs
 - 8295419: JFR: Change name of jdk.JitRestart
 - 8295517: Fix stutter typo in JDK-8294539
 - 8295029: runtime/cds/appcds/LotsOfClasses.java fail with jfx
 - 8284614: on macOS "spindump" should be run from failure_handler as root
 - 8285306: Fix typos in java.desktop
 - 6924219: (fc spec) FileChannel.write(ByteBuffer, position) behavior when file opened for append not specified
 - 8295457: Make the signatures of write barrier methods consistent
 - 8295469: S390X: Optimized builds are broken
 - ... and 286 more: https://git.openjdk.org/jdk/compare/ecfb6bce...1c855e42

Changes: https://git.openjdk.org/jdk/pull/10453/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10453&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/10453.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10453/head:pull/10453

PR: https://git.openjdk.org/jdk/pull/10453



More information about the build-dev mailing list