Withdrawn: 8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features

Archie Cobbs acobbs at openjdk.org
Fri Apr 11 21:43:41 UTC 2025


On Wed, 22 Jan 2025 16:15:40 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

> This PR updates the `DeferredLintHandler` so that deferred warnings can be registered during parsing, before any `JCTree` nodes have been created, and it uses this new capability to update the `"preview"` and `"text-blocks"` Lint warnings so that they can be suppressed via `@SuppressWarnings` annotations. More details are provided in additional comments.
> 
> Note: This PR depends on (i.e., includes and extends) these other "cleanup" PR's:
> * #23167
> * #23281
> * #23400
> * #23730

This pull request has been closed without being integrated.

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

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


More information about the compiler-dev mailing list