Project: JDT
Bug 16751 Renaming a class doesn't update all references
Reported: 2002-05-22 07:51:48 | Status: verified fixed

class SuperClass { public static final String CONSTANT = "value"; } class SubClass extends SuperClass { } class Test { public static void main(String[] arguments) { System.out.println(SubClass.CONSTANT); } } Use Refactor/Rename Element... to rename SubClass. The reference in Test is not updated, causing a compile time error.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/RenameType/test58/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameType/test58/out/B.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameTypeTests.java