Skip to content

AbstractJdbcCall's compiled variable should be declared as volatile [SPR-13617] #18195

Closed
@spring-projects-issues

Description

@spring-projects-issues

Shimi Bandiel opened SPR-13617 and commented

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.


Affects: 3.2.15, 4.1.8, 4.2.2

Referenced from: commits d42cc14, 81342f1, 0f4e4fc

Backported to: 4.1.9, 3.2.16

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions