Project: JDT
Bug 96172 [refactoring] Moving method with static import in body gives illegal result.
Reported: 2005-05-20 16:49:53 | Status: verified fixed

--------------- Source.java ------------------ import static java.lang.Integer.*; class Source { static int getInt () { return parseInt(""); } } ---------------- Target.java BEFORE ----------- class Target {} ---------------- Target.java AFTER ------------ class Target { static int getInt () { return parseInt(""); } } // COMPILE ERROR!

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