Open DongChunHao opened 1 month ago
Apache NetBeans 22
A syntax error occurred in renaming a method in the interface.
No response
selecting 'methodToRename' in interface I Renaming 'methodToRename' to 'equals'
Because the new method name 'equals' is the method in the existing API, it causes a compilation error when applied to refactor the new name
No / Don't know
Windows11
20
Other
No
Apache NetBeans version
Apache NetBeans 22
What happened
A syntax error occurred in renaming a method in the interface.
Language / Project Type / NetBeans Component
No response
How to reproduce
selecting 'methodToRename' in interface I Renaming 'methodToRename' to 'equals'
Because the new method name 'equals' is the method in the existing API, it causes a compilation error when applied to refactor the new name![image](https://github.com/user-attachments/assets/85153f64-f516-44b5-84ad-3796a34c12b8)
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows11
JDK
20
Apache NetBeans packaging
Other
Anything else
No response
Are you willing to submit a pull request?
No