]
Eduardo Martins updated WFLY-3766:
----------------------------------
Comment: was deleted
(was: This issue should also fix CalendarBasedTimeoutTestCase logic because there are
issues shown on openjdk with updated (ART) timezone data, which adds a DST change that
clashes with existent tests.)
Fix DST changes handling by EJB CalendarBasedTimeout to match
traditional cron
------------------------------------------------------------------------------
Key: WFLY-3766
URL:
https://issues.jboss.org/browse/WFLY-3766
Project: WildFly
Issue Type: Enhancement
Components: EJB
Reporter: Eduardo Martins
Assignee: Eduardo Martins
EJB schedule expressions were designed to match UNIX Cron, but WildFly currently does not
provides such handling of DST changes, relying on JDK Calendar to handle these, which
means that on DST rollback repeated periods only STD timeouts will be generated, and on
DST forward skipped periods a replacement will be used (+ or - amount of DST savings) that
may repeat (when adjustment goes back) or skip (when adjustment goes forward) other
timeouts.
This issue should add traditional cron behaviour to WildFly EJB CalendarBasedTimeout,
i.e. timeouts on DST rollback repeated period will occur in both DST and STD, and timeouts
on DST forward skipped period will be skipped. Tests that ensure such behaviour should be
added too.