ArrayIndexOutOfBoundsException in java.util.JapaneseImperialCalendar

Seán Coffey sean.coffey at oracle.com
Thu Sep 14 17:45:11 UTC 2017


You can report JDK bugs at :

http://bugreport.java.com/

regards,
Sean.


On 14/09/2017 17:55, Dominik Helm wrote:
> I did not find a better place to report this, so I'm going to post it here:
>
> 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.
>
> Best regards,
> Dominik



More information about the discuss mailing list