Lines Matching refs:Box
33 static class Box<X extends Box<?,?>, T extends X> {
35 Box<X, T> same;
38 static class A extends Box<A,A> {}
39 static class B extends Box<B,B> {}
41 Box<?,?> b = new Box<Box<A,A>,Box<A,A>>();
42 b.value.same = new Box<B,B>(); //javac misses this bad assignment