diff -r 1985e35e97b2 -r 7873d37f5b37 test/tools/javac/lambda/methodReference/SamConversion.java --- a/test/tools/javac/lambda/methodReference/SamConversion.java Mon Jan 21 11:16:28 2013 -0800 +++ b/test/tools/javac/lambda/methodReference/SamConversion.java Mon Jan 21 20:13:56 2013 +0000 @@ -149,14 +149,6 @@ test2(A::method3, 4); test2(new A()::method4, 5); test2(new A()::method5, 6); - A a = new A(A::method1); //A(Foo f) called - assertTrue(a.method2(1) == 11); - assertTrue(a.method4(1) == 11); - assertTrue(a.method5(1) == 11); - A a2 = new A(new A()::method2); //A(Bar b) called - assertTrue(a2.method2(1) == 12); - assertTrue(a2.method4(1) == 12); - assertTrue(a2.method5(1) == 12); } /** @@ -279,7 +271,7 @@ testConditionalExpression(false); testLambdaExpressionBody(); - assertTrue(assertionCount == 38); + assertTrue(assertionCount == 32); } static class MyException extends Exception {}