Skip to content

Conversation

@gianmarcoschifone
Copy link
Contributor

This change fixes malformed Javadoc comments in JspDocStyleTest.java that do not parse correctly.

The fix includes:

  • Wrapping unescaped HTML/XML tags (like </x>, </a>) in {@code} blocks to prevent Javadoc parsing errors.

These issues are surfaced by newer Checkstyle versions (specifically UnusedImportsCheck which now parses Javadoc).

See the related Checkstyle change:
checkstyle/checkstyle#18059

Copy link
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@adangel adangel added this to the 7.20.0 milestone Dec 24, 2025
@adangel adangel changed the title [java] Fix malformed Javadoc HTML in JspDocStyleTest [jsp] Fix malformed Javadoc HTML in JspDocStyleTest Dec 24, 2025
@adangel adangel added the in:pmd-internals Affects PMD's internals label Dec 24, 2025
@adangel adangel merged commit 864ea15 into pmd:main Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:pmd-internals Affects PMD's internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants