Community
Participate
Working Groups
build I20080318-0800 1) create p/A.java package p; public class A { public class B { } } 2) create X.java import p.A; public class X { A.B| // ctrl+space at | location } 3) do crtl+space B is not proposed If the completion occurs in a method body then B is proposed import p.A; public class X { void foo() { A.B| // ctrl+space at | location } }
Created attachment 93119 [details] Proposed fix
Created attachment 93121 [details] Better patch
Released for 3.4M6 Test added CompletionWithMissingTypesTests#test0040()
To reproduce, X.java must not contain an import statement: public class X { A.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