Skip to content

Commit 29358df

Browse files
committed
Issue #10704: Fix EJB timer getNextTimeout
Timer.getNextTimeout may return NoSuchObjectLocalException indicating that the timer was created with no scheduled timeout if there are no future timouts and the timer is currently running. Update getNextTimeout so if the timer is currently running, then other concurrent threads will see the currently scheduled timeout, since it hasn't actually completed yet.
1 parent 0af0855 commit 29358df

File tree

1 file changed

+137
-215
lines changed

1 file changed

+137
-215
lines changed

0 commit comments

Comments
 (0)