-
Bug
-
Resolution: Unresolved
-
P5
-
25
-
None
-
generic
-
generic
At some point, java.awt.Color.createContext() was marked as synchronized to support caching of a ColorPaintContext instance. The cache was later removed, but the synchronized modifier remained. Since there is no shared mutable state anymore, the synchronization is no longer necessary and can be safely removed.
- csr for
-
JDK-8356113 java.awt.Color.createContext() uses unnecessary synchronization
-
- Draft
-
- links to
-
Review(master) openjdk/jdk/24771