2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6207386
|
|
|
|
* @summary Undecidable type system leads to crash
|
|
|
|
* @author Martin Odersky
|
2010-07-26 14:18:45 -07:00
|
|
|
* @compile/fail/ref=T6207386.out -XDrawDiagnostics T6207386.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class T6207386 {
|
|
|
|
static class F<T> {}
|
|
|
|
static class C<X extends F<F<? super X>>> {
|
|
|
|
C(X x) {
|
|
|
|
F<? super X> f = x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|