Community
Participate
Working Groups
build I20041104 1) create Z.java package p; public class Z { public static class ZZ { public static final int ZZZ = 0; } } 2) create Y.java package p; public class Z { } 3) create X.java import static p.Y.ZZ.ZZZ; public class X { } 4) compile there is no error but with javac there is 1 error X.java:1: import requires canonical name for p.Z.ZZ import static p.Y.ZZ.ZZZ; ^ 1 error
Added StaticImport test 13
Verified in 200412140800