Skip to content

CronSequenceGenerator wrong trigger time on rollover when lower order bits specified [SPR-6273] #10940

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-6273 and commented

CronSequenceGenerator fails for expressions like "10 * 5 * * *" when it rolls forward to the 5th hour, the seconds are reset to 0 (which doesn't match the pattern). The problem is in the reset of lower order bits on rollover of higher order (so "* * 5 * * *" and "0 0 5 * * *" work fine).

The majority use case probably doesn't include such patterns, but we can fix it for RC2.


Affects: 3.0 RC1

Attachments:

Referenced from: commits 3c9eed1

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions