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

Alexey Ivanov aivanov at openjdk.org
Mon Jan 15 18:29:30 UTC 2024


On Fri, 12 Jan 2024 23:46:06 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> for test execution it does not matter but when opened in ide it conflicts with some other Error classes from the tests.

I feel your pain!

I suggest refactoring those tests and make their private `Error` class a static member of the test class itself.

This is why I'm for having only one public class in a test file and no other top-level classes — to avoid such naming clashes, which makes it easier to edit and run tests from an IDE.

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

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


More information about the client-libs-dev mailing list