langtools/test/tools/javac/lambda/methodReference/MethodRef1.java
changeset 14724 b542db73539a
parent 14547 86d8d242b0c4
--- a/langtools/test/tools/javac/lambda/methodReference/MethodRef1.java	Fri Nov 30 15:14:25 2012 +0000
+++ b/langtools/test/tools/javac/lambda/methodReference/MethodRef1.java	Fri Nov 30 15:14:36 2012 +0000
@@ -70,9 +70,6 @@
         b = MethodRef1::foo; //static reference to foo(int)
         b.m(1);
 
-        b = new MethodRef1()::foo; //instance reference to static methods, supported for now
-        b.m(1);
-
         b = MethodRef1::bar; //static reference to bar(int)
         b.m(2);