|
Relates :
|
FULL PRODUCT VERSION :
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.
|