Project: JDT
Bug 79166 Pasting multiple fields inserts in wrong order
Reported: 2004-11-22 05:12:09 | Status: resolved fixed

jdt.ui from HEAD, likely caused by conversion of PasteAction to new ast rewrite: public class X { int a= 1, b= a; int e= 1; int f= 2; } class Y { int y= 17; } - select fields a and b in the outline - copy - select y in the outline - paste => order of inserted fields is wrong (a should be first) => same problem when copy-pasting e and f onto y.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/Paste/testPastingTypedResources3/out/A.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java