Thu, 31 Aug 2017 15:17:03 +0800
merge
1 /**
2 * @test /nodynamiccopyright/
3 * @bug 7177306 8007464
4 * @summary Regression: unchecked method call does not erase return type
5 * @compile/fail/ref=T7177306e.out -source 7 -Xlint:-options -XDrawDiagnostics T7177306e.java
6 * @compile/fail T7177306e.java
7 */
9 import java.util.List;
11 class T7177306e {
13 <Z, U extends List<Z>> void m(List<U> lu) { }
15 void test(List<List<?>> llw) {
16 m(llw);
17 }
18 }