1.1 --- a/test/tools/javac/lambda/MethodReference47.java Fri Aug 30 17:36:47 2013 -0700 1.2 +++ b/test/tools/javac/lambda/MethodReference47.java Mon Sep 02 22:38:36 2013 +0100 1.3 @@ -7,14 +7,6 @@ 1.4 */ 1.5 public class MethodReference47 { 1.6 1.7 - static int assertionCount = 0; 1.8 - 1.9 - static void assertTrue(boolean cond) { 1.10 - assertionCount++; 1.11 - if (!cond) 1.12 - throw new AssertionError(); 1.13 - } 1.14 - 1.15 interface SAM1 { 1.16 void m(Integer s); 1.17 } 1.18 @@ -34,7 +26,7 @@ 1.19 static void g2(SAM2 s) { } 1.20 1.21 public static void main(String[] args) { 1.22 - g1(MethodReference46::m); 1.23 - g2(MethodReference46::m); 1.24 + g1(MethodReference47::m); 1.25 + g2(MethodReference47::m); 1.26 } 1.27 }