Bug 97579

Summary: code assist on import removes package declaration
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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