[OpenJDK 2D-Dev] Integrated: 8262915: java.awt.color.ColorSpace.getName() is not thread-safe

Sergey Bylokhov serb at openjdk.java.net
Wed Mar 3 20:30:40 UTC 2021


On Wed, 3 Mar 2021 03:46:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The java.awt.color.ColorSpace.getName()  method does not use any kind of synchronization to properly initialize and use the static cache for the color components names.

This pull request has now been integrated.

Changeset: b397472e
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b397472e
Stats:     53 lines in 1 file changed: 5 ins; 24 del; 24 mod

8262915: java.awt.color.ColorSpace.getName() is not thread-safe

Reviewed-by: azvegint, aivanov

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

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


More information about the 2d-dev mailing list