2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-07-17 09:56:07 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2008-10-24 12:46:51 +01:00
|
|
|
* @bug 6762569
|
|
|
|
* @summary Javac crashes with AssertionError in Types.containedBy
|
2014-07-17 09:56:07 -07:00
|
|
|
* @compile/fail/ref=T6762569b.out -XDrawDiagnostics T6762569b.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
2008-07-24 10:35:38 +01:00
|
|
|
import java.util.*;
|
2007-12-01 00:00:00 +00:00
|
|
|
|
2008-10-24 12:46:51 +01:00
|
|
|
class T6762569b {
|
2008-07-24 10:35:38 +01:00
|
|
|
<T> void m(T t, List<? super List<T>> list) {}
|
2008-10-24 12:46:51 +01:00
|
|
|
|
|
|
|
void test(List<? super List<? extends Number>> list) {
|
2008-07-24 10:35:38 +01:00
|
|
|
m("", list);
|
2007-12-01 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|