Skip to content

Fix overridden method inherited javadoc when markdown is used - #3108

Merged
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:markdowninherit
Aug 7, 2026
Merged

Fix overridden method inherited javadoc when markdown is used#3108
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:markdowninherit

Conversation

@jjohnstn

@jjohnstn jjohnstn commented Aug 7, 2026

Copy link
Copy Markdown
Contributor
  • fix CoreJavadocAccess.javadoc2HTML to check if we have the default rawjavadoc string and if we can inherit javadoc, if the overridden method has markdown javadoc, then reset the rawjavadoc to the default markdown string so that the markdown processors will be used
  • add newline after fetching main description in case we have a markdown code block
  • add new test to MarkdownCommentTests
  • fixes Markdown is not formatted properly in inherited docs #3101

What it does

See issue.

How to test

See issue or new test.

Author checklist

- fix CoreJavadocAccess.javadoc2HTML to check if we have the default
  rawjavadoc string and if we can inherit javadoc, if the overridden
  method has markdown javadoc, then reset the rawjavadoc to the
  default markdown string so that the markdown processors will be
  used
- add newline after fetching main description in case we have
  a markdown code block
- add new test to MarkdownCommentTests
- fixes eclipse-jdt#3101
@jjohnstn jjohnstn self-assigned this Aug 7, 2026
@jjohnstn jjohnstn added the bug Something isn't working label Aug 7, 2026
@jjohnstn jjohnstn added this to the 4.41 M3 milestone Aug 7, 2026
@jjohnstn
jjohnstn merged commit d294cd1 into eclipse-jdt:master Aug 7, 2026
13 checks passed
@jjohnstn
jjohnstn deleted the markdowninherit branch August 7, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown is not formatted properly in inherited docs

1 participant