This PR fixes a failure of bug4133768.java on macOS aarch64 by adding an RGB 
tolerance of 5.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/javax/swing/AbstractButton/bug4133768.java

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8383999: javax/swing/AbstractButton/bug4133768.java failing on macosx due to 
color mismatch

Changes: https://git.openjdk.org/jdk/pull/31061/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31061&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383999
  Stats: 10 lines in 1 file changed: 7 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/31061.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31061/head:pull/31061

PR: https://git.openjdk.org/jdk/pull/31061

Reply via email to