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. ------------- Commit messages: - emit error when encountering ambigious link Changes: https://git.openjdk.org/jdk/pull/23328/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23328&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8346659 Stats: 111 lines in 4 files changed: 82 ins; 12 del; 17 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