Community
Participate
Working Groups
With J2SE 5.0 compliance enabled, type the following into a new Java file: import static java. Code assist will propose all subpackages of java, each followed by ".*;", which results in a compile-time error if accepted. Instead, it should propose plain subpackages ("java.lang" instead of "java.lang. *;").
Omission: should do another code assist if a subpackage is selected: static import java.<code assist> (selects proposal "java.lang") -> static import java.lang.<code assist> Could also show subpackages as "java.lang.".
*** Bug 108704 has been marked as a duplicate of this bug. ***
+1 for 3.2RC2
Created attachment 39406 [details] Proposed fix
Fix released and test added CompletionTest_1_5#test0288() -> test0289() "java.lang." is proposed instead of "java.lang.*;" when the import is static
Verified with I20060427-1600 for RC2.