On Wed, 3 Mar 2021 03:55:42 GMT, Sergey Bylokhov <s...@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.
>
> src/java.desktop/share/classes/java/awt/color/ColorSpace.java line 454:
> 
>> 452:      * Returns the name of the component given the component index.
>> 453:      *
>> 454:      * @param  component the component index
> 
> All other methods use the "component" as a name of the component index.

I guess it will require a CSR request.

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

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

Reply via email to