RFR: 8354447: Missing test for retroactive @SuppressWarnings("dangling-doc-comments") behavior
Joe Darcy
darcy at openjdk.org
Fri Jun 13 21:38:30 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.
Marked as reviewed by darcy (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24600#pullrequestreview-2926491036
More information about the compiler-dev
mailing list