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

AbstractJdbcCall's compiled variable should be declared as volatile

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Complete
    • 3.2.15, 4.1.8, 4.2.2
    • 3.2.16, 4.1.9, 4.2.3
    • Data:JDBC
    • None
    • true

    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

            juergen.hoeller Juergen Hoeller
            shimib77 Shimi Bandiel
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 47 weeks, 2 days ago