Bug 78931

Summary: [select] cannot select qualified type name without the qualified package name
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2004-11-18 06:06:59 EST
build I20040911 + jdtcore head

1) create X.java
package p;
public class X {
  public class Y {
    public class Z {
    }
  }
}
2) create Test.java
import p.*;
public class Test {
  p.X.Y.Z z1; // line (1)
  X.Y.Z z2; // line (2)
}

3) select "p.X.Y.Z" at line (1)
4) do F3
the type Z is selected

5) select "X.Y.Z" at line (2)
6) do F3
nothing i selected
Comment 1 David Audel CLA 2004-11-24 06:30:14 EST
Fixed and tests added
  ResolveTest#testQualifiedName1() -> testQualifiedName5()
Comment 2 David Audel CLA 2004-11-26 09:15:37 EST
reopen
Comment 3 David Audel CLA 2004-11-26 09:17:53 EST
Fixed and tests updated
  ResolveTest#testQualifiedName1() -> testQualifiedName5()

There is no more qualification check. Now partial selection are allowed.
Comment 4 Frederic Fusier CLA 2004-12-14 10:53:26 EST
Verified for 3.1 M4 using build I200412140800.