Details
-
Bug
-
Resolution: Fixed
-
P2
-
8, 8-repo-lambda
-
b82
-
Verified
Description
Steps to reproduce:
//Foo.java
interface Foo<X extends Number> {
void m(X x);
}
class FooLib {
void m(Foo<?> uf) { }
}
//Test.java
class Test {
void test(FooLib fl) {
fl.m(x->{});
}
}
javac Foo.java
javac Test.java
//Foo.java
interface Foo<X extends Number> {
void m(X x);
}
class FooLib {
void m(Foo<?> uf) { }
}
//Test.java
class Test {
void test(FooLib fl) {
fl.m(x->{});
}
}
javac Foo.java
javac Test.java