2015-05-15 16:30:55 +00:00
|
|
|
/*
|
2012-09-25 10:56:46 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2013-02-12 19:25:09 +00:00
|
|
|
* @bug 7177306 8007464
|
2012-09-25 10:56:46 +00:00
|
|
|
* @summary Regression: unchecked method call does not erase return type
|
2015-05-15 16:30:55 +00:00
|
|
|
* @compile/fail/ref=T7177306e_7.out -XDrawDiagnostics -source 7 -Xlint:-options -XDrawDiagnostics T7177306e.java
|
|
|
|
* @compile/fail/ref=T7177306e.out -XDrawDiagnostics T7177306e.java
|
2012-09-25 10:56:46 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
class T7177306e {
|
|
|
|
|
|
|
|
<Z, U extends List<Z>> void m(List<U> lu) { }
|
|
|
|
|
|
|
|
void test(List<List<?>> llw) {
|
|
|
|
m(llw);
|
|
|
|
}
|
|
|
|
}
|