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

Liam Miller-Cushon cushon at openjdk.org
Wed Oct 29 07:39:25 UTC 2025


On Tue, 28 Oct 2025 18:57:32 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> 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>}`?

Thanks, fixed.

This test was reproducing the crash even with the typo to use the wrong annotation, but definitely better not to rely on that.

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

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


More information about the javadoc-dev mailing list