Bug 309623

Summary: moving class or package with refactor causes crap in source
Product: [Eclipse Project] JDT Reporter: aelio <pcode>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: jarthana, Olivier_Thomann
Version: 3.6Keywords: needinfo
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description aelio CLA 2010-04-19 02:30:59 EDT
Build Identifier: 20100218-1602

Expressions with related variables and references are deleted or messed up.
References to the moved class changes randomly and wrong.
Import sections ara duplicated / deleted.
Class headers are deleted partially.

import package1.Class1;
mport package1.Class2; // single letters may be deleted
.Class3; // or part of line 

// or import declaration is inserted incorrectly
public class SubWind
import package.class;
ow extends Window 



Reproducible: Sometimes

Steps to Reproduce:
1. Create huge project
2. Move class to different package
Comment 1 Olivier Thomann CLA 2010-04-19 09:05:02 EDT
(In reply to comment #0)
> Build Identifier: 20100218-1602
> Reproducible: Sometimes
> Steps to Reproduce:
> 1. Create huge project
> 2. Move class to different package
This is clearly not enough. There is no way we can reproduce the problem with these steps.
If you can reproduce the problem in your workspace, it would be easier to provide your workspace if you can.
Comment 2 Olivier Thomann CLA 2010-04-21 14:24:01 EDT
Could you please provide steps to reproduce different from:
Steps to Reproduce:
1. Create huge project
2. Move class to different package
?

This is way too vague.
Comment 3 Olivier Thomann CLA 2010-06-10 12:52:40 EDT
Closing as WORKSFORME.
Please reopen once required information is provided.
Comment 4 Jay Arthanareeswaran CLA 2010-08-04 02:50:35 EDT
Verified for 3.7M1 using build I20100802-1800.