RFR: 8274317: Unnecessary reentrant synchronized block in java.awt.Cursor

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Sat Sep 25 10:42:28 UTC 2021


No need to use 'synchronized(systemCustomCursors)' in 2 places. One is enough.

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

Commit messages:
 - [PATCH] Remove reentrant synchronized block in java.awt.Cursor.loadSystemCustomCursorProperties

Changes: https://git.openjdk.java.net/jdk/pull/5597/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5597&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274317
  Stats: 8 lines in 1 file changed: 3 ins; 3 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5597.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5597/head:pull/5597

PR: https://git.openjdk.java.net/jdk/pull/5597



More information about the client-libs-dev mailing list