RFR: 8293986: Incorrect double-checked locking in com.sun.beans.introspect.ClassInfo

Andrey Turbanov aturbanov at openjdk.org
Wed Sep 21 08:09:36 UTC 2022


Fields `methods`, `properties`, `eventSets` are not volatile and read multiple times. This makes it an incorrect DCL.

-------------

Commit messages:
 - 8293986: Incorrect double-checked locking in com.sun.beans.introspect.ClassInfo

Changes: https://git.openjdk.org/jdk/pull/10372/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10372&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293986
  Stats: 25 lines in 1 file changed: 9 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/10372.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10372/head:pull/10372

PR: https://git.openjdk.org/jdk/pull/10372



More information about the client-libs-dev mailing list