RFR: 8284646: Some swing test fail in macos12-aarch64 host
Sergey Bylokhov
serb at openjdk.java.net
Tue Apr 12 04:20:39 UTC 2022
On Mon, 11 Apr 2022 08:38:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Few tests are seen to be failing in macos12 M1 system due to slight difference in color as mentioned in [JDK-8277816](https://bugs.openjdk.java.net/browse/JDK-8277816)
>
> It seems the color difference was around 6-7 for swing tests, so these tests are extracted out in this issue and fixed by adding tolerance.
> I could not find, in M1 osx12.3 SystemPreferences, any way to set Color Profile to sRGB IEC61966-2.1 Profile so it seems osx12.x M1 use default setting.
>
> Several runs in CI system in all platforms including 12.x M1 pass with this change (test job link in JBS)
Please double check that it is not possible to set the "sRGB IEC61966-2.1" color profile(probbaly you need to press some key to see an additional options, or there some user permission issue). I have macOS 12.3 and there is an option to set that profile, and if it is set all theses tests works fine.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8176
More information about the client-libs-dev
mailing list