RFR: 8294376: Minimize disabled warnings in java.base

Aleksey Shipilev shade at openjdk.org
Tue Sep 27 06:28:25 UTC 2022


On Mon, 26 Sep 2022 17:03:40 GMT, Aleksey Shipilev <shade 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.
>
> Hold on, I'll test these on various Linux-es.

> @shipilev Thanks. I will also wait for someone from core-libs to chime in.

GCC 10 in various arches/modes is fine.

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

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



More information about the build-dev mailing list