mcimadamore@1510: /* mcimadamore@1510: * @test /nodynamiccopyright/ mcimadamore@1562: * @bug 8005244 mcimadamore@1562: * @summary Implement overload resolution as per latest spec EDR mcimadamore@1562: * 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: }