RFR: 8370237: AssertionError in Annotate.fromAnnotations with -Xdoclint and type annotations [v2]

Vicente Romero vromero at openjdk.org
Tue Oct 28 18:59:57 UTC 2025


On Wed, 22 Oct 2025 18:07:37 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> Hi, please consider this fix for a crash with `-Xdoclint` and type annotations. It is a generalization of a previous fix for [JDK-8266082](https://bugs.openjdk.org/browse/JDK-8266082).
>
> Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update another affected test

test/langtools/tools/doclint/CrashInTypeAnnotateTest.java line 18:

> 16: @interface A {}
> 17: 
> 18: /** {@link List<@Nullable String>}

shouldn't this be: `{@link List<@A String>}`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27901#discussion_r2470721961


More information about the javadoc-dev mailing list