CronSequenceGenerator causes StackOverflowError with reversed range values [SPR-14462] #19031
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Edward opened SPR-14462 and commented
CronSequenceGenerator
next(Date date)
method causes a StackOverflowError if there is a range value in the 'minutes' or 'hours' fields where the numbers are reversed.For example :
It seems to me it is fixed by adding another check to the
getRange(String field, int min, int max)
methodAffects: 3.2.17, 4.2.7, 4.3.1
Issue Links:
Referenced from: commits da59b4d, 44152ce, 9be5404, e431624
Backported to: 4.2.8, 3.2.18
The text was updated successfully, but these errors were encountered: