Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8183722 | 8u161 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8164417 | 8u152 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
JDK-8192458 | emb-8u161 | Ivan Gerasimov | P4 | Resolved | Fixed | b01 |
To validate ranges for minutes and seconds the following code is used:
if (Math.abs(minutes) > 59) {
...
if (Math.abs(seconds) > 59) {
...
which fails when the argument is Integer.MIN_VALUE.
if (Math.abs(minutes) > 59) {
...
if (Math.abs(seconds) > 59) {
...
which fails when the argument is Integer.MIN_VALUE.
- backported by
-
JDK-8164417 ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
-
- Resolved
-
-
JDK-8183722 ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
-
- Resolved
-
-
JDK-8192458 ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
-
- Resolved
-