-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
-
b25
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8274636 | 11.0.14-oracle | Yoshiki Sato | P3 | Resolved | Fixed | b01 |
JDK-8274748 | 11.0.14 | Zhengyu Gu | P3 | Resolved | Fixed | b01 |
JDK-8275134 | openjdk8u322 | Naoto Sato | P3 | Resolved | Fixed | b01 |
JDK-8274671 | 8u321 | Yoshiki Sato | P3 | Resolved | Fixed | b01 |
All versions since at least JDK6
ADDITIONAL OS VERSION INFORMATION :
All OSes
A DESCRIPTION OF THE PROBLEM :
There is an obvious ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar.actualMonthLength():
The third and fourth lines read
if (eraIndex == -1) {
long transitionFixedDate = sinceFixedDates[eraIndex];
thereby always trying to access an out ouf bounds element on sinceFixedDates.
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8274636 ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
- Resolved
-
JDK-8274671 ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
- Resolved
-
JDK-8274748 ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
- Resolved
-
JDK-8275134 ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar
- Resolved
- relates to
-
JDK-6191841 (cal) API: Calendar.roll spec should clarify DAY_OF_WEEK behavior
- Closed
- links to
-
Commit openjdk/jdk11u-dev/3b88f74d
-
Commit openjdk/jdk/bea4109e
-
Review openjdk/jdk11u-dev/460
-
Review openjdk/jdk/4191