RFR: 8294376: Minimize disabled warnings in java.base [v2]

Erik Joelsson erikj at openjdk.org
Tue Sep 27 12:46:24 UTC 2022


On Tue, 27 Sep 2022 08:32:09 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> After [JDK-8294281](https://bugs.openjdk.org/browse/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.base 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.
>
> Magnus Ihse Bursie has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
> 
>  - Merge branch 'master' into java.base-warnings-per-file
>  - Fixes for linux
>  - Fix windows
>  - Fix macos/aarch64

Marked as reviewed by erikj (Reviewer).

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

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



More information about the build-dev mailing list