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.
------------- Commit messages: - Update ColorSpace.java Changes: https://git.openjdk.java.net/jdk/pull/2801/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2801&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8262915 Stats: 53 lines in 1 file changed: 5 ins; 24 del; 24 mod Patch: https://git.openjdk.java.net/jdk/pull/2801.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2801/head:pull/2801 PR: https://git.openjdk.java.net/jdk/pull/2801