vscode-java
vscode-java copied to clipboard
Bug: A syntax error occurred in renaming a method in the interface
[provide a description of the issue]
Environment
Operating System: Windows11 JDK version: 17 Visual Studio Code version: 1.88 Java extension version: 1.29
Steps 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