mcimadamore@1510: /* mcimadamore@1510: * @test /nodynamiccopyright/ mcimadamore@1510: * @summary uncatched sam conversion failure exception lead to javac crash mcimadamore@1510: * @compile/fail/ref=TargetType52.out -XDrawDiagnostics TargetType52.java mcimadamore@1510: */ mcimadamore@1510: class TargetType52 { mcimadamore@1510: mcimadamore@1510: interface FI> { mcimadamore@1510: T m(V p); mcimadamore@1510: } mcimadamore@1510: mcimadamore@1510: void m(FI> fip) { } mcimadamore@1510: mcimadamore@1510: void test() { mcimadamore@1510: m(p -> p.get(0)); mcimadamore@1510: } mcimadamore@1510: }