-
Notifications
You must be signed in to change notification settings - Fork 922
Refactor>Rename messes up javadoc comment formatting. #8233
Copy link
Copy link
Closed
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)JavaDoc[ci] enable java/javadoc tests and build-javadoc target[ci] enable java/javadoc tests and build-javadoc targetRegressionThis used to work!This used to work!kind:bugBug report or fixBug report or fix
Milestone
Metadata
Metadata
Assignees
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)JavaDoc[ci] enable java/javadoc tests and build-javadoc target[ci] enable java/javadoc tests and build-javadoc targetRegressionThis used to work!This used to work!kind:bugBug report or fixBug report or fix
Type
Fields
Give feedbackNo fields configured for issues without a type.
Apache NetBeans version
Apache NetBeans IDE 25-rc2
What happened
Product Version: Apache NetBeans IDE 25-rc2
Doing
refactor>renamemesses up javadoc comments that reference the renamed item.Have observed
Language / Project Type / NetBeans Component
java
How to reproduce
NewProject Mavenm2in line 20, use context menuRefactor>Renamem2tosomeDifferentNameObserve lines 4, 9 (see below): the javadoc comments are incorrectly formatted.
Also fails in NB 24. Works in NB 23.
test-file
after refactor rename
Did this work correctly in an earlier version?
NetBeans 23
Operating System
Linux harmony 6.9.3-76060903-generic #202405300957
173877096822.04~d5f7c84 SMP PREEMPT_DYNAMIC Wed F x86_64 x86_64 x86_64 GNU/LinuxJDK
Java: 23.0.1; OpenJDK 64-Bit Server VM 23.0.1+11-39 Runtime: OpenJDK Runtime Environment 23.0.1+11-39 System: Linux version 6.9.3-76060903-generic running on amd64; UTF-8; en_US (nb)
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
every time
Are you willing to submit a pull request?
No