RFR: 8371248: Crash in -Xdoclint with invalid @link [v4]
Jan Lahoda
jlahoda at openjdk.org
Thu Nov 13 14:25:09 UTC 2025
On Wed, 12 Nov 2025 17:53:09 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Removing unnecessary imports as suggested.
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28272#discussion_r2523654046
More information about the javadoc-dev
mailing list