RFR: 8286270: [java.desktop] Replace color search in XColors with a switch statement

Phil Race prr at openjdk.java.net
Mon May 9 20:24:54 UTC 2022


On Sun, 8 May 2022 13:33:53 GMT, ExE Boss <duke at openjdk.java.net> wrote:

> That’s not what happens, since XColors::lookupColor always calls new ColorUIResource(…) in both the old and new version.

You are correct. I over-looked the toColor() implementation.

Ok. this should be fine once the author tag is removed.

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

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



More information about the client-libs-dev mailing list