Project: JDT
Bug 7590 CCE: during move refactoring
Reported: 2002-01-15 04:03:46 | Status: resolved fixed

This happened during the CHOOSE Eclipse talk: I was dragging junit.framework.Assert.java to junit.framework.extensions: java.lang.reflect.InvocationTargetException: java.lang.ClassCastException: org.eclipse.jdt.internal.core.JarPackageFragmentRoot at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.collectCus ThatWillImportDestinationPackage(MoveCuUpdateCreator.java:172) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.collectCus ThatWillImportDestinationPackage(MoveCuUpdateCreator.java:161) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.addImports ToDestinationPackage(MoveCuUpdateCreator.java:131) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveCuUpdateCreator.createUpda teChange(MoveCuUpdateCreator.java:83) at org.eclipse.jdt.internal.corext.refactoring.reorg.MoveRefactoring.createChange (MoveRefactoring.java:222) at org.eclipse.jdt.internal.ui.refactoring.CreateChangeOperation.run (CreateChangeOperation.java:97) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:98)

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