RFR: 8354447: Missing test for retroactive @SuppressWarnings("dangling-doc-comments") behavior
Archie Cobbs
acobbs at openjdk.org
Tue Jun 10 18:59:32 UTC 2025
On Fri, 11 Apr 2025 19:55:28 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> This PR adds a regression test for the "retroactive" behavior of `@SuppressWarnings("dangling-doc-comments")`, that is, the warning suppression applies to comments preceding the declaration that the annotation annotates, even though those comments are not within the lexical scope of that declaration. Previously there was no test for this behavior.
Now that JDK 25 has been split off, are there any reviewers available to review this simple change? Thanks in advance.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24600#issuecomment-2959724983
More information about the compiler-dev
mailing list