Details
-
Bug
-
Resolution: Fixed
-
P2
-
8, 8-repo-lambda
-
b93
-
Verified
Description
The following program crashes javac:
import java.util.List;
interface Function<X,Y> {
Y m(X x);
}
class Test {
static void test() {
zip(Test::asList);
}
public static <T> List<T> asList(T... a) {
return null;
}
public static <C> void zip(Function<String, C> zipper) { }
}
import java.util.List;
interface Function<X,Y> {
Y m(X x);
}
class Test {
static void test() {
zip(Test::asList);
}
public static <T> List<T> asList(T... a) {
return null;
}
public static <C> void zip(Function<String, C> zipper) { }
}