RFR: 8304408: Javadoc unexpectedly reports that hybrid snippet contents mismatch
Hannes Wallnöfer
hannesw at openjdk.org
Mon Nov 17 17:19:18 UTC 2025
Please review a change to ignore leading and trailing line breaks when comparing inline and external snippet contents in a hybrid snippets. It is often hard to get leading/trailing linebreaks identical between the two, and it is generally not a significant aspect in terms of consistency.
There is an open CSR for this issue to update the section about hybrid snippets in the doc comment spec.
-------------
Commit messages:
- 8304408: Javadoc unexpectedly reports that hybrid snippet contents mismatch
Changes: https://git.openjdk.org/jdk/pull/28357/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28357&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8304408
Stats: 87 lines in 2 files changed: 79 ins; 3 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/28357.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28357/head:pull/28357
PR: https://git.openjdk.org/jdk/pull/28357
More information about the javadoc-dev
mailing list