Community
Participate
Working Groups
Eclipse rejects a rename class refactoring. The transformation could be performed with an additional change. Steps: 1. Create the classes: package p1; import p2.*; public class A extends C { } package p1; public class B extends A { } package p2; public class C { } 2. Apply the rename class to rename A to C. Eclipse will show an error: Name conflict with type p2.C. Eclipse could show a warning but also suggest the following transformation: package p1; import p2.*; public class C extends p2.C { } package p1; public class B extends A { } package p2; public class C { }
*** Bug 399183 has been marked as a duplicate of this bug. ***