On Fri, 21 Feb 2025 15:09:49 GMT, Nizar Benalla <nbena...@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 one additional > commit since the last revision: > > fix test bug test/langtools/jdk/javadoc/doclet/ReproducibleSnippet/ReproducibleSnippetTest.java line 76: > 74: "#a", > 75: "One#ab", > 76: "overlap in obj1.ab(a());\n * {@snippet lang = > java:\n ^"); Why did you revert from using a text block for the whole message? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23328#discussion_r1965653654