-
Bug
-
Resolution: Fixed
-
P5
-
5.0
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152451 | OpenJDK6 | Jonathan Gibbons | P3 | Closed | Not an Issue |
javac rejects the following code.
class X {
<T, U extends T, V extends T> T cond1(boolean z, U x1, V x2) {
return (z? x1: x2);
}
}
class X {
<T, U extends T, V extends T> T cond1(boolean z, U x1, V x2) {
return (z? x1: x2);
}
}
- backported by
-
JDK-2152451 Problem with least upper bound (lub) and type variables
- Closed
- relates to
-
JDK-6557661 Problem with least upper bound
- Closed
-
JDK-6488666 inference: lub of typevariables does not yield expected results
- Open