]
Tom Jenkinson updated JBTM-1197:
--------------------------------
Fix Version/s: 4.16.5
5.0.0.M2
large tx timeouts are bugged
----------------------------
Key: JBTM-1197
URL:
https://issues.jboss.org/browse/JBTM-1197
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transaction Core
Affects Versions: 4.16.4
Reporter: Jonathan Halliday
Assignee: Tom Jenkinson
Fix For: 4.16.5, 5.0.0.M2
When CoordinatorEnvironmentBean.defaultTimeout approaches Integer.MAX_VALUE, the
calculation in ReaperElement.<ctor> wraps, resulting in an immediate tx timeout
_absoluteTimeoutMills = (timeout * 1000) + System.currentTimeMillis();
should be
_absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis();
in order to avoid -ve i.e. times in the past when timeout is large.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: