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

Nizar Benalla nbenalla at openjdk.org
Fri Feb 21 15:13:08 UTC 2025


> 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 one additional commit since the last revision:

  fix test bug

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23328/files
  - new: https://git.openjdk.org/jdk/pull/23328/files/53259326..56d1623f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23328&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23328&range=04-05

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23328.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23328/head:pull/23328

PR: https://git.openjdk.org/jdk/pull/23328


More information about the javadoc-dev mailing list