RFR: 8276966: Improve diagnostic output for the mismatching parts of a hybrid snippet

Hannes Wallnöfer hannesw at openjdk.org
Fri Oct 3 14:45:19 UTC 2025


On Fri, 3 Oct 2025 13:23:52 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> Does it make sense to add a test for this assertion?
> 
> > By adding a terminal separator we make sure trailing blank lines are not discarded.

Definitely a good idea! Luckily we already have a hybrid snippet mismatch test with a trailing blank line, so I added a check for the correct output.

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

PR Comment: https://git.openjdk.org/jdk/pull/27621#issuecomment-3365980341


More information about the javadoc-dev mailing list