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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Apr 11 08:45:25 UTC 2022


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)

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

Commit messages:
 - 8284646: Some swing test fail in macos12-aarch64 host

Changes: https://git.openjdk.java.net/jdk/pull/8176/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8176&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284646
  Stats: 28 lines in 5 files changed: 19 ins; 4 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8176.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8176/head:pull/8176

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



More information about the client-libs-dev mailing list