Open
Description
[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
1.select "k()"
2.click “Rename”
3. new name "m()"
public class A {
void m(Object m){
System.out.println("A");
}
}
class B extends A{
// rename k to m
void k(String m){
System.out.println("B");
}
void f(){
m("1");
}
}
result:
public class A {
void m(Object m){
System.out.println("A");
}
}
class B extends A{
// rename k to m
void m(String m){
System.out.println("B");
}
void f(){
m("1");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment