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
mcimadamore@1510 | 1 | /* |
mcimadamore@1510 | 2 | * @test /nodynamiccopyright/ |
mcimadamore@1510 | 3 | * @summary uncatched sam conversion failure exception lead to javac crash |
mcimadamore@1510 | 4 | * @compile/fail/ref=TargetType52.out -XDrawDiagnostics TargetType52.java |
mcimadamore@1510 | 5 | */ |
mcimadamore@1510 | 6 | class TargetType52 { |
mcimadamore@1510 | 7 | |
mcimadamore@1510 | 8 | interface FI<T extends CharSequence, V extends java.util.AbstractList<T>> { |
mcimadamore@1510 | 9 | T m(V p); |
mcimadamore@1510 | 10 | } |
mcimadamore@1510 | 11 | |
mcimadamore@1510 | 12 | void m(FI<? extends CharSequence, ? extends java.util.ArrayList<? extends CharSequence>> fip) { } |
mcimadamore@1510 | 13 | |
mcimadamore@1510 | 14 | void test() { |
mcimadamore@1510 | 15 | m(p -> p.get(0)); |
mcimadamore@1510 | 16 | } |
mcimadamore@1510 | 17 | } |