Bug 309623 - moving class or package with refactor causes crap in source
Summary: moving class or package with refactor causes crap in source
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.7 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2010-04-19 02:30 EDT by aelio CLA
Modified: 2010-08-04 02:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.