Bug 78931 - [select] cannot select qualified type name without the qualified package name
Summary: [select] cannot select qualified type name without the qualified package name
Status: VERIFIED FIXED
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 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 06:06 EST by David Audel CLA
Modified: 2004-12-14 10:53 EST (History)
0 users

See Also:


Attachments

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