Community
Participate
Working Groups
3.3rc0 The following code is rejected, though javac accepts it: package p; import static p.X.Super; import static p.Top.*; class Top<T> { static class A<U> {} } public class X extends Super<A<X>> { class Super<T> extends Top<T>{ } }
I'm getting these errors from Eclipse AND javac: p/X.java:10: cannot find symbol symbol: class Super public class X extends Super<A<X>> { ^ p/X.java:10: cannot find symbol symbol: class A public class X extends Super<A<X>> { ^ p/X.java:3: cannot find symbol symbol : static Super location: class p.X import static p.X.Super; ^ and from eclipse: Super cannot be resolved to a type z/src/p X.java line 10 The import p.X.Super cannot be resolved z/src/p X.java line 3
Philippe's output directory had other .class files that made the test invalid
Added GenericTypeTest#test1140