Community
Participate
Working Groups
Build 3.3.1 The following 3 files example doesn't compile clean, where it should: ---------- 1. ERROR in p\X.java (at line 2) import static r.Y.Z; ^^^^^ The import r.Y.Z cannot be resolved ---------- p/X.java [ package p; import static r.Y.Z; import q.*; public class X<T> extends Z<T> { Z<T> getZ() { return null; } void bar() { System.out.println(getZ().value); } } ] q/Z.java [ package q; import r.Y; public class Z<T> extends Y<T> { } ] r/Y.java [ package r; public class Y<T> { public static String foo; public String value; public static String Z; } ]
Added StaticImportTest#test051
Actually, this is another symptom of bug 193210
*** This bug has been marked as a duplicate of bug 193210 ***
Aligned the target with the one of the dupe. Verified for 3.4 M3 using build I20071029-0010.
Verified for 3.3.2 using M20080123-0800 build