Project: JDT
Bug 120846 [hierarchy] Jar Export/Import with refactorings fails when renaming type and similar elements
Reported: 2005-12-14 06:39:45 | Status: resolved fixed

I20051214-0010 - new workspace, import junit3.8.1 source - new project JUnitTests - move all junit.tests* and junit.samples* packages to JUnitTests - export JUnit into junit1.jar with refactoring annotations - import the junit1.jar as file into JUnitTests and add to build path - rename Test to Toast, enable updating similar, with 3rd strategy - export JUnit to junit2.jar - import junit2.jar into JUnitTests => Error message: "Assertion failed: Search for method declaration did not find original element" -> There should be a log entry for such failures -> The refactoring should work ;-)

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/binary/StubCreationOperation.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/binary/StubRefactoringHistoryWizard.java