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. ------------- Commit messages: - 8354900: javax/swing/AbstractButton/bug4133768.java failing on macosx-aarch64 Changes: https://git.openjdk.org/jdk/pull/24712/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24712&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8354900 Stats: 29 lines in 1 file changed: 18 ins; 3 del; 8 mod Patch: https://git.openjdk.org/jdk/pull/24712.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24712/head:pull/24712 PR: https://git.openjdk.org/jdk/pull/24712