Bug 223495 - [assist] Member types of missing parametrized types are not proposed
Summary: [assist] Member types of missing parametrized types are not proposed
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-21 10:12 EDT by David Audel CLA
Modified: 2008-03-26 06:10 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (6.50 KB, patch)
2008-03-21 10:14 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2008-03-21 10:12:52 EDT
build I20080318-0800

1) create p/A.java
package p;
public class A<T> {
  public class B {
  }
}
2) create X.java
import p.A;
public class X {
  A<X>.B| // ctrl+space at | location
}
3) do crtl+space
B is not proposed
Comment 1 David Audel CLA 2008-03-21 10:14:29 EDT
Created attachment 93133 [details]
Proposed fix
Comment 2 David Audel CLA 2008-03-21 10:17:25 EDT
Released for 3.4M6.

Test added
  CompletionWithMissingTypesTests_1_5#test0013() -> test0014()
Comment 3 Jerome Lanneluc CLA 2008-03-26 06:10:51 EDT
To reproduce, X.java must not contain an import statement:
public class X {
  A<X>.B| // ctrl+space at | location
}

In this case, there is no proposal at the given location with I20080318-0800,
but there is one with I20080325-0100.

Verified for 3.4M6 using I20080325-0100