Bug 97579 - code assist on import removes package declaration
Summary: code assist on import removes package declaration
Status: VERIFIED DUPLICATE of bug 97307
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 12:32 EDT by Martin Aeschlimann CLA
Modified: 2005-06-08 03:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-05-31 12:32:58 EDT
RC1

- create the two following clases
- in B.java, code assist after 'A.' deletes everything up to the code assist
position
- the problem seems to come from the proposal that has 0 as replace start

// A.java
package pack;
public class A {
   public static class Inner {
   }
}

// B.java
package pack;
import pack.A. // code assist here

public class B {
}
Comment 1 David Audel CLA 2005-06-02 03:22:08 EDT

*** This bug has been marked as a duplicate of 97307 ***
Comment 2 Frederic Fusier CLA 2005-06-08 03:22:23 EDT
Verified for 3.1 RC2 using build N20050608-0010