Wed, 23 Jan 2013 20:57:40 +0000
8006694: temporarily workaround combo tests are causing time out in several platforms
Reviewed-by: jjg
Contributed-by: maurizio.cimadamore@oracle.com
1 /*
2 * @test /nodynamiccopyright/
3 * @summary uncatched sam conversion failure exception lead to javac crash
4 * @compile/fail/ref=TargetType52.out -XDrawDiagnostics TargetType52.java
5 */
6 class TargetType52 {
8 interface FI<T extends CharSequence, V extends java.util.AbstractList<T>> {
9 T m(V p);
10 }
12 void m(FI<? extends CharSequence, ? extends java.util.ArrayList<? extends CharSequence>> fip) { }
14 void test() {
15 m(p -> p.get(0));
16 }
17 }