Community
Participate
Working Groups
JDT UI and JDT Core from HEAD (or I20061017-0800). Have: void foo() { HashMap m; m.<code assist> } ==> you get proposals when the rt.jar is 1.4 but not when using 5.0.
Code assist filter possible types which will add compilation problems. But this filtering is too strict. In this test case, java.util.HashMap will add a warning for a raw type.
Created attachment 52310 [details] Proposed fix
Released for 3.3 M3. Test added CompletionWithMissingTypesTests_1_5#test0012() When the possible type could add a non optional problem there is no proposal. When the possible type could add an optional problem, it is proposed but with a lesser relevance than if there is no problem. As before, the behavior for problem of deprecation, visibility and access restriction is ruled by the corresponding code assist options.
Verified for 3.3 M3 using warm-up build I20061030-0800