Project: JDT
Bug 99392 [refactoring] Use Supertype Where Possible... leaves dialog open
Reported: 2005-06-10 11:54:08 | Status: verified fixed

I20050610-0010 + plug-in export for smoke 1. Have A.java like: ---------------------------- public class A { void foo() { C c= null; c.toString(); } } class B extends A {} class C extends B {} ---------------------------- 2. select 'C' after 'class' 3. Refactor > Use Supertype Where Possible... 4. seelct 'Object' 5. press OK ==> source has been changed but dialog stays open saying it's not possible to do the change.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/UseSupertypeWizard.java