Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tomjenkinson Thomas Jenkinson
                  Reporter:
                  jhalliday Jonathan Halliday
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: