RFR: 8356061: [macos] com/apple/laf/RootPane/RootPaneDefaultButtonTest.java test fails on macosx-aarch64 machine

Sergey Bylokhov serb at openjdk.org
Thu May 15 17:23:52 UTC 2025


On Thu, 15 May 2025 04:05:38 GMT, Jeremy Wood <duke at openjdk.org> wrote:

> Unfortunately I'm unable to reproduce this failure. I slowed the test down; it passes on my machine before and after this PR.
> 
> I added a little bit of logging that might also help identify what's happening.
> 
> Does anyone have any more suggestions?

test/jdk/com/apple/laf/RootPane/RootPaneDefaultButtonTest.java line 131:

> 129:         robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
> 130: 
> 131:         robot.delay(1000);

it will be useful to add the same delay before the first call to test, right after invokeAndWait.....setVisible(...)
Also please move creation and access_to all Swing components to EDT(button, radioButton1)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25244#discussion_r2091656355


More information about the client-libs-dev mailing list