RFR: 8284646: Some swing test fail in macos12-aarch64 host

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Apr 12 04:25:36 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)

I dont see in M1 osx12.3. Attached "DIsplay" where usually we have COlor tab where we used to set the profile
<img width="664" alt="Screenshot 2022-04-12 at 9 48 55 AM" src="https://user-images.githubusercontent.com/43534309/162879976-19ee9d74-e851-4f7b-b994-9d1583c2015b.png">

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

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



More information about the client-libs-dev mailing list