RFR: 8266246: Swing test PressedIconTest.java sometimes fails on macOS 11 ARM

Phil Race prr at openjdk.java.net
Fri Apr 15 18:20:38 UTC 2022


On Fri, 15 Apr 2022 09:57:53 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> javax/swing/JButton/8151303/PressedIconTest.java was failing few times in macos M1 system owing t color profile issue.
> 
> java.lang.RuntimeException: Colors are different!
> at PressedIconTest.main(PressedIconTest.java:88) 
> 
> 
> Test is now passing in all mac M1 systems in CI (link in jBS) so can be removed from problemlist.

Are you sure that was the issue ? I submitted this as an intermittent issue about a year ago and I'm sure that
the color profile wasn't being toggled on every run.
I think you'd have to run the test 100 times so be reasonably sure.

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

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



More information about the client-libs-dev mailing list