|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
The following code crashes javac
interface SAM {
Object m();
}
class Test {
static void test(String s) {
class Foo {
void m() {
Object o = s;
}
}
SAM s2 = ()->new Foo(); }
}