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

Nizar Benalla nbenalla at openjdk.org
Thu Feb 20 16:54:33 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:

  respond to feedback

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

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

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

  Stats: 13 lines in 2 files changed: 6 ins; 0 del; 7 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