RFR: 8354900: javax/swing/AbstractButton/bug4133768.java failing on macosx-aarch64

Abhishek Kumar abhiscxk at openjdk.org
Fri Apr 18 05:55:45 UTC 2025


On Thu, 17 Apr 2025 05:59:03 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> javax/swing/AbstractButton/bug4133768.java was automated and open-sourced recently and it fails intermittently in CI.
> 
> Looks like when we have mouse pointer at same location from where we are picking UI color from robot, it picks wrong color.
> 
> Updated test to have mouse pointer to be at different place from where we are picking roll-over color of buttons.
> Also made other changes to make test more robust. With all these changes test now passes all the time in CI.

test/jdk/javax/swing/AbstractButton/bug4133768.java line 1:

> 1: /*

Test is failing consistently on my mac machine with this exception "Button roll over color is : java.awt.Color[r=3,g=255,b=0] but it should be : java.awt.Color[r=0,g=255,b=0]"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24712#discussion_r2050091492


More information about the client-libs-dev mailing list