- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8, 8-repo-lambda
- 
        b82
                    This program should not compile:
interface I {
void zoo(Y y, String s);
}
class Y {
void zoo(String s) {
System.out.println("Y.zoo(String)");
}
void zoo(Y y, String s) {
System.out.println("Y.zoo(Y, String)");
}
}
public class X {
public static void main(String[] args) {
I i = Y::zoo;
i.zoo(null, null);
}
}
interface I {
void zoo(Y y, String s);
}
class Y {
void zoo(String s) {
System.out.println("Y.zoo(String)");
}
void zoo(Y y, String s) {
System.out.println("Y.zoo(Y, String)");
}
}
public class X {
public static void main(String[] args) {
I i = Y::zoo;
i.zoo(null, null);
}
}
- relates to
- 
                    JDK-8231461 static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference -           
- Resolved
 
-