Project: JDT
Bug 235253 [organize imports] Organize imports removes needed import statement.
Reported: 2008-06-02 21:13:46 | Status: verified fixed

Build ID: I20080330-1350 (3.4M6) Steps To Reproduce: Please organize imports and see that the import statement is wrongly removed, causing a compile error. In the sample below, I put both classes in the same compilation unit. But the problem also occurs if in different units. ------------ bug/Bug.java ------------------ package bug; import bug.Bug.*; class Bug{ interface Proto{}; }class Foo implements Proto{}

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java