RFR: 8346659: SnippetTaglet should report an error if provided ambiguous links [v9]

Hannes Wallnöfer hannesw at openjdk.org
Wed Feb 26 16:01:27 UTC 2025


On Wed, 26 Feb 2025 15:03:46 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

>> Some javadoc snippets can match multiple links to the same content, leading to different results in different javadoc runs.
>> This patch proposes emitting an error when such cases are encountered.
>> 
>> There is a very trivial, unrelated change in `TestGlobalHtml.java` because I noticed some whitespace wasn't right.
>
> Nizar Benalla has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Revert "Improve error message by pointing to location of links"
>    
>    This reverts commit 9b2107d90203febd9615e7622816432751c3f9e2.
>  - Revert "trim error message"
>    
>    This reverts commit e0d70a410a1149efa07f6486334fdcad3e31a3c9.

Thanks Nizar, looks good to me.

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

Marked as reviewed by hannesw (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23328#pullrequestreview-2645023670


More information about the javadoc-dev mailing list