Wed, 27 Apr 2016 01:34:52 +0800
Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/
changeset: 2573:53ca196be1ae
tag: jdk8u25-b17
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 }