unbounded wildcard cant be proved to be different: test data

This commit is contained in:
anna
2010-08-24 13:26:08 +04:00
parent 6522eb65e0
commit 20ed44ab80
@@ -460,6 +460,12 @@ public class Test {
}
}
void testUnbounded() {
W<?> x = null;
W<? extends A> y = ( W<? extends A>) x;
W<?> y1 = (W<?>)x;
}
}
class W<T> {}