Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b82
-
Verified
Description
This program should not compile:
import java.util.*;
interface SAM {
Object m();
}
class Test {
SAM s = ArrayList<?>::new;
}
import java.util.*;
interface SAM {
Object m();
}
class Test {
SAM s = ArrayList<?>::new;
}