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

AbstractJdbcCall's compiled variable should be declared as volatile

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.15, 4.1.8, 4.2.2
    • Fix Version/s: 3.2.16, 4.1.9, 4.2.3
    • Component/s: Data:JDBC
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      AbstractJdbcCall contains a Double-Checked Locking code over the compiled field.
      It should be declared volatile to avoid ordering issues that can result in race-condition scenarios.

        Attachments

          Activity

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              shimib77 Shimi Bandiel
              Last updater:
              St├ęphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 42 weeks, 5 days ago