Apache NetBeans version
Apache NetBeans 30
What happened
In the example class file below,
- cursor on class decl class name, line 8
- rename RefactorRenameCommentFormat to Foo
- checked: Apply Rename on Comments
- <CR> to refactor
Observe The comments, line 6 and 13, messed up.
If there are multiple lines after the <p> the whole paragraph if affected.
NOTE: if <p> is taken away:
- the comment indentation is not changed
- the class name in the comment is not renamed.
package com.raelity.play;
/**
* Some stuff.
* <p>
* This is stuff RefactorRenameCommentFormat.someMethod().anotherMethod.
*/
public class RefactorRenameCommentFormat
{
/**
* Some stuff.
* <p>
* This is stuff RefactorRenameCommentFormat.someMethod().anotherMethod.
*/
public RefactorRenameCommentFormat someMethod() {
return null;
}
public String anotherMethod() {
return null;
}
}
Language / Project Type / NetBeans Component
java/javadoc
How to reproduce
See OP.
I'm assuming this a regression since #8233 was a regression. This might be another case of the same problem from #8233.
Did this work correctly in an earlier version?
Apache NetBeans 26 or earlier
Operating System
Linux harmony 7.0.9-76070009-generic #202605191504177946462222.04~ef31795 SMP PREEMPT_DYNAMIC Fri M x86_64 x86_64 x86_64 GNU/Linux
JDK
Java: 26; OpenJDK 64-Bit Server VM 26+35-2893 Runtime: OpenJDK Runtime Environment 26+35-2893
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Apache NetBeans version
Apache NetBeans 30
What happened
In the example class file below,
Observe The comments, line 6 and 13, messed up.
If there are multiple lines after the <p> the whole paragraph if affected.
NOTE: if <p> is taken away:
Language / Project Type / NetBeans Component
java/javadoc
How to reproduce
See OP.
I'm assuming this a regression since #8233 was a regression. This might be another case of the same problem from #8233.
Did this work correctly in an earlier version?
Apache NetBeans 26 or earlier
Operating System
Linux harmony 7.0.9-76070009-generic #202605191504
177946462222.04~ef31795 SMP PREEMPT_DYNAMIC Fri M x86_64 x86_64 x86_64 GNU/LinuxJDK
Java: 26; OpenJDK 64-Bit Server VM 26+35-2893 Runtime: OpenJDK Runtime Environment 26+35-2893
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No