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

Roland Mesde duke at openjdk.org
Mon Feb 16 18:52:19 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...

This pull request has now been integrated.

Changeset: 809b0424
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/809b0424f812702084f0d4acf7d7b2ad1d087bb7
Stats:     90 lines in 6 files changed: 46 ins; 9 del; 35 mod

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

Backport-of: 9435d5b89ca08595f0f2f8d029c00bc6d1f30104

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

PR: https://git.openjdk.org/jdk25u-dev/pull/261


More information about the jdk-updates-dev mailing list