On Wed, 6 May 2026 17:34:41 GMT, Roland Mesde <[email protected]> wrote:

> 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).

Tolerance is only used if the final rendering cannot be controlled by java, 
like shadows/transparency/etc the things which are controlled by the OS. Can 
you check that sRGB profile is set on the test system? 

Some notes about how the systems should be configured:
https://wiki.openjdk.org/spaces/ClientLibs/pages/81952779/Automated+client+GUI+testing+system+set+up+requirements

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

PR Comment: https://git.openjdk.org/jdk/pull/31061#issuecomment-4394140584

Reply via email to