blob: b61947e47488ef3ce8129924351b2ab2dc679338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
public class MyTest {
interface I {
void m(Integer s);
}
static class Foo<X extends Number> {
Foo(X x) { }
}
static void m(I s) {}
static {
m((s) -> {
new Foo<Integer>(s);
});
}
}
|