RFR: 8344079: Minor fixes and cleanups to compiler lint-related code [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Dec 2 15:59:46 UTC 2024
On Fri, 29 Nov 2024 18:46:37 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Agree... one of the best ways to ensure a policy is correctly followed is to make the build fail when it's not :)
>
> Filed:
>
> https://bugs.openjdk.org/browse/JDK-8345263
>
> I will take a look.
Initial stab:
https://github.com/openjdk/jdk/compare/master...mcimadamore:jdk:lint_warning_strong_checks?expand=1
The idea is to mark in compiler.properties which keys are associated to which lint category, and track the association in the generated `CompilerProperties` file. Then we can just drop the additional `LintCategory` parameter from all the call sites.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22056#discussion_r1866109145
More information about the compiler-dev
mailing list