RFR: 4760025: sRGB conversions to and from CIE XYZ incorrect [v3]

Alexey Ivanov aivanov at openjdk.org
Fri Jan 12 22:55:20 UTC 2024


On Fri, 12 Jan 2024 22:35:34 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Since the time the bug was reported color conversion accuracy for the sRGB profile and specific values from the report increased by x100. This is a request to add the code from the report as a test case.
>
> Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Arrays.toString

test/jdk/java/awt/color/ICC_ColorSpace/SimpleSRGBToFromCIEXYZ.java line 46:

> 44:                 System.err.println("XYZ color:\t\t" + Arrays.toString(xyz));
> 45:                 System.err.println("Actual color:\t" + Arrays.toString(inv));
> 46:                 throw new java.lang.Error("Wrong color");

Is the full class name required? All classes from `java.lang` are imported, aren't they?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17388#discussion_r1450994550


More information about the client-libs-dev mailing list