RFR: 8371248: Crash in -Xdoclint with invalid @link [v4]
Liam Miller-Cushon
cushon at openjdk.org
Thu Nov 13 14:25:10 UTC 2025
On Thu, 13 Nov 2025 14:20:11 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> test/langtools/tools/javac/doctree/ReferenceTest.java line 90:
>>
>>> 88: * {@link double#NAN Bad}
>>> 89: * {@link double#double Bad}
>>> 90: * {@link java.base/double Bad}
>>
>> I also saw some crashes in non-primitive examples like
>>
>>
>> * {@link List<String>.of}
>> * {@link Optional<String>.empty}
>> * {@link Map<String, Integer>.Entry}
>>
>>
>> This PR also fixes them, but maybe consider adding more tests like that, unless it's already covered?
>
> I've added some tests along these lines.
Thanks! Looks good to me.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28272#discussion_r2523668727
More information about the javadoc-dev
mailing list