-
Bug
-
Resolution: Won't Fix
-
P4
-
8, 9
While compiling this code:
class Test {
<Z> Z m(Z z) { return null; }
void test() {
double d1 = m(1);
}
}
the code is successfully compiled but javac adds an "int" bound during inference.
class Test {
<Z> Z m(Z z) { return null; }
void test() {
double d1 = m(1);
}
}
the code is successfully compiled but javac adds an "int" bound during inference.