RFR: 8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features [v14]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Feb 28 18:05:53 UTC 2025


On Fri, 28 Feb 2025 17:56:15 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> E.g. in my mental model the start/end of a "decl" is only relevant if it can have some suppression attached to it.

What I mean is, one of these:
https://github.com/openjdk/jdk/blob/master/src/jdk.compiler/share/classes/com/sun/tools/javac/code/DeferredLintHandler.java#L119

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

PR Comment: https://git.openjdk.org/jdk/pull/23237#issuecomment-2691251308


More information about the compiler-dev mailing list