RFR: 8294466: Minimize disabled warnings in java.desktop
Erik Joelsson
erikj at openjdk.org
Thu Oct 20 18:16:52 UTC 2022
On Thu, 20 Oct 2022 10:36:08 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> 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)
make/modules/java.desktop/lib/Awt2dLibraries.gmk line 222:
> 220: endif
> 221:
> 222: ifeq ($(TOOLCHAIN_TYPE), gcc)
How did you solve this?
-------------
PR: https://git.openjdk.org/jdk/pull/10790
More information about the build-dev
mailing list