RFR: 8284888 : [macos] javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java failed with "NimbusLookAndFeel] : ERROR: icon and imageIcon not same."

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed May 4 11:04:51 UTC 2022


On Tue, 3 May 2022 23:49:22 GMT, Phil Race <prr at openjdk.org> wrote:

> This is occurring only on the M1 imac where despite having the right profile we see "off by 1/255" errors sometimes. So why do we need a color tolerance of 25 ? Why isn't it 1 ?

It was there from start so did not tinker although I tested with tolerance of 10 which passed. Anyway, I have changed it to 1 which also passed in the intended system and all other platforms (CI job link in JBS)

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

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



More information about the client-libs-dev mailing list