-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b67
-
generic, x86
-
generic, linux, windows_xp
-
Verified
This program doesn't compile:
import java.util.List;
class Test {
void foo(List<? super Object[]> l) {
l.add(new Object[0]);
}
}
See: http://forum.java.sun.com/thread.jspa?threadID=625907
###@###.### 2005-05-11 09:37:07 GMT
import java.util.List;
class Test {
void foo(List<? super Object[]> l) {
l.add(new Object[0]);
}
}
See: http://forum.java.sun.com/thread.jspa?threadID=625907
###@###.### 2005-05-11 09:37:07 GMT
- duplicates
-
JDK-6466471 assignment to array-lower bounded wildcard
- Closed
- relates to
-
JDK-5034571 Wildcard capture must use the bounds of the formal
- Closed