diff -r 1985e35e97b2 -r 7873d37f5b37 test/tools/javac/lambda/TargetType52.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/lambda/TargetType52.java Mon Jan 21 20:13:56 2013 +0000 @@ -0,0 +1,17 @@ +/* + * @test /nodynamiccopyright/ + * @summary uncatched sam conversion failure exception lead to javac crash + * @compile/fail/ref=TargetType52.out -XDrawDiagnostics TargetType52.java + */ +class TargetType52 { + + interface FI> { + T m(V p); + } + + void m(FI> fip) { } + + void test() { + m(p -> p.get(0)); + } +}