-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 17
-
Component/s: client-libs
-
b11
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8304984 | 17.0.8 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
SurfaceManager is using a lazily initialized cacheMap that is initialized using a double-checked locking mechanism. Generally, objects initialized using such constructs need to be declared volatile.
See https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java
See https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java
- backported by
-
JDK-8304984 SurfaceManager might expose partially constructed object
-
- Resolved
-