Project: JDT
Bug 176536 [rename] rename of a package should add imports to classes in the package for types in the same package included from jars
Reported: 2007-03-06 16:45:24 | Status: resolved fixed

To reproduce: - create 2 java projects AProj and BProj - in AProj create an interface IFace in a non-default pkg - export AProj to a jar (AProj.jar) - add AProj.jar in the build path for BProj - in BProj create a new Class that implements IFace in the same pkg as IFace - in BProj rename the package - the import for IFace should be added to the implementation since the interface and the implementation are now in different packages.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test8/in/java/lang/reflect/Klass.java org.eclipse.jdt.ui.tests.refactoring/resources/RenamePackage/test8/out/nonjava/Klass.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenamePackageTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/FilteredTypesSelectionDialog.java