1.1 --- a/test/tools/javac/lambda/TargetType16.java Wed May 14 11:01:08 2014 -0700 1.2 +++ b/test/tools/javac/lambda/TargetType16.java Wed May 14 15:41:28 2014 -0600 1.3 @@ -1,9 +1,9 @@ 1.4 /* 1.5 * @test /nodynamiccopyright/ 1.6 - * @bug 8003280 1.7 + * @bug 8003280 8034223 1.8 * @summary Add lambda tests 1.9 * Check void-compatibility in strict vs. loose conversion contexts 1.10 - * @compile/fail/ref=TargetType16.out -XDrawDiagnostics TargetType16.java 1.11 + * @compile TargetType16.java 1.12 */ 1.13 1.14 class TargetType16 { 1.15 @@ -20,6 +20,6 @@ 1.16 static <T> void m(SAM2<T> s2) { } 1.17 1.18 public static void main(String[] args) { 1.19 - m(() -> { throw new AssertionError(); }); //ambiguous 1.20 + m(() -> { throw new AssertionError(); }); // prefer SAM2 1.21 } 1.22 }