Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9821

Race Condition in ReschedulingRunnable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.1.2, 3.2 M2
    • Fix Version/s: 3.1.3, 3.2 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      I was looking the spring source code, and I think there is a race condition on class ReschedulingRunnable.

      The cancel method may have no effect.

      For more information, please check the code in attachment.

        Activity

        Hide
        juergen.hoeller Juergen Hoeller added a comment -

        Good catch!

        Juergen

        Show
        juergen.hoeller Juergen Hoeller added a comment - Good catch! Juergen

          People

          • Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            ribeirux Pedro Ribeiro
            Last updater:
            Chris Beams
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 9 weeks, 4 days ago