[jdk25u-dev] RFR: 8346154: [XWayland] Some tests fail intermittently in the CI, but not locally

duke duke at openjdk.org
Mon Feb 16 17:51:20 UTC 2026


On Thu, 12 Feb 2026 17:37:25 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8346154: [XWayland] Some tests fail intermittently in the CI, but not locally.
> 
> This PR fixes intermittent test failures on XWayland by adding delays after setVisible() calls and refactoring tests that immediately checked window state, addressing timing differences where XWayland delivers ConfigureNotify events asynchronously compared to X11.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/java/awt/Choice/PopupPosTest/PopupPosTest.java
> make test TEST=test/jdk/java/awt/Focus/ClearLwQueueBreakTest/ClearLwQueueBreakTest.java
> make test TEST=test/jdk/java/awt/Frame/FrameSetMinimumSizeTest.java
> make test TEST=test/jdk/java/awt/KeyboardFocusmanager/TypeAhead/ButtonActionKeyTest/ButtonActionKeyTest.java
> make test TEST=test/jdk/java/awt/LightweightComponent/LightWeightTabFocus/LightWeightTabFocus.java
> make test TEST=test/jdk/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java
> 
> Results attached:
> 
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25300284/linux-aarch64-specific-test.log)
> [linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25300285/linux-aarch64-specific-2-test.log)
> [linux-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25300286/linux-aarch64-specific-3-test.log)
> [linux-aarch64-specific-4-test.log](https://github.com/user-attachments/files/25300287/linux-aarch64-specific-4-test.log)
> [linux-aarch64-specific-5-test.log](https://github.com/user-attachments/files/25300288/linux-aarch64-specific-5-test.log)
> [linux-aarch64-specific-6-test.log](https://github.com/user-attachments/files/25300289/linux-aarch64-specific-6-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25300290/linux-x64-specific-test.log)
> [linux-x64-specific-2-test.log](https://github.com/user-attachments/files/25300291/linux-x64-specific-2-test.log)
> [linux-x64-specific-3-test.log](https://github.com/user-attachments/files/25300292/linux-x64-specific-3-test.log)
> [linux-x64-specific-4-test.log](https://github.com/user-attachments/files/25300293/linux-x64-specific-4-test.log)
> [linux-x64-specific-5-test.log](https://github.com/user-attachments/files/25300294/linux-x64-specific-5-test.log)
> [linux-x64-specific-6-test.log](https://github.com/user-attachments/files/25300295/linux-x64-specific-6-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25300299/windo...

@rm-gh-8 
Your change (at version 9f3d2f0ad37faa5fb904527b5f36ac83caf06712) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/261#issuecomment-3909778371


More information about the jdk-updates-dev mailing list