Skip to content

Conversation

@jjohnstn
Copy link
Contributor

  • add logic to test for a Javadoc comment being part of the TypeDeclaration in which case, use createStringPlaceHolder() and manually copy the Javadoc comment in front of the new record
  • modify AssistQuickFixTest14 to add some comment scenarios
  • fixes Converting type to record removes Javadoc comment #2747

What it does

See issue.

How to test

See issue or modified tests.

Author checklist

- add logic to test for a Javadoc comment being part of the
  TypeDeclaration in which case, use createStringPlaceHolder() and
  manually copy the Javadoc comment in front of the new record
- modify AssistQuickFixTest14 to add some comment scenarios
- fixes eclipse-jdt#2747
@jjohnstn jjohnstn self-assigned this Jan 20, 2026
@jjohnstn jjohnstn added the bug Something isn't working label Jan 20, 2026
@jjohnstn jjohnstn added this to the 4.39 M2 milestone Jan 20, 2026
@jjohnstn jjohnstn added bug Something isn't working and removed bug Something isn't working labels Jan 20, 2026
@jjohnstn jjohnstn merged commit f417924 into eclipse-jdt:master Jan 20, 2026
13 checks passed
@jjohnstn jjohnstn deleted the derivedsource branch January 20, 2026 21:58
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.

Converting type to record removes Javadoc comment

1 participant