Summary: | Moving a class with checked Update references fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Möbius <m.moebius> | ||||
Component: | UI | Assignee: | Adam Kiezun <akiezun> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P1 | ||||||
Version: | 2.0 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows NT | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Martin Möbius
2002-01-21 09:34:52 EST
Adam please have a look at this. I think the generated text edits aren't correct i cannot reproduce it on 20020123 can you provide more specific steps (best would be if you could come up with a test case - like a set of .java files that causes this to happen) Created attachment 263 [details]
Best is to import it into a new project. My name ClassMove
Oops bugzilla removed my comments. Here again. Couldn't verify bug in 20020123. Testcase if for 0115. Moving Test2 to package a.b should come up with an error. It's another stacktrace than before. This stacktrace is from another class moving. Just to prove, if testcase fails. org.eclipse.jdt.internal.ui.JavaUIException: Status at org.eclipse.jdt.internal.ui.reorg.ReorgDestinationAction.doReorg (ReorgDestinationAction.java:146) at org.eclipse.jdt.internal.ui.reorg.MoveAction.doReorg (MoveAction.java:171) at org.eclipse.jdt.internal.ui.reorg.ReorgDestinationAction.run (ReorgDestinationAction.java:104) at org.eclipse.jface.action.Action.runWithEvent(Action.java:452) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:74) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1413) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1205) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:822) at org.eclipse.ui.internal.Workbench.run(Workbench.java:805) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:878) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:321) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362) 4 org.eclipse.jdt.ui 0 Status 2=============<children>============= 4 org.eclipse.jdt.core 968 Operation requires one or more elements. 4 org.eclipse.jdt.core 968 Operation requires one or more elements. 4 org.eclipse.jdt.core 968 Operation requires one or more elements. 4 org.eclipse.jdt.core 968 Operation requires one or more elements. 2=============</children>============= cannot reproduce anymore on 20020125 closing - please reopen if you see it again resolving as fixed - it was fixed some time ago as another bug report (don't remember the number though) |