[jdk25u-dev] RFR: 8346154: [XWayland] Some tests fail intermittently in the CI, but not locally
Roland Mesde
duke at openjdk.org
Fri Feb 13 20:35:27 UTC 2026
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/windows-x64-specific-test.log)
[windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25300300/windows-x64-specific-2-test.log)
[windows-x64-specific-3-test.log](https://github.com/user-attachments/files/25300301/windows-x64-specific-3-test.log)
[windows-x64-specific-4-test.log](https://github.com/user-attachments/files/25300302/windows-x64-specific-4-test.log)
[windows-x64-specific-5-test.log](https://github.com/user-attachments/files/25300303/windows-x64-specific-5-test.log)
[windows-x64-specific-6-test.log](https://github.com/user-attachments/files/25300304/windows-x64-specific-6-test.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25300311/macos-aarch64-specific-test.log)
[macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25300312/macos-aarch64-specific-2-test.log)
[macos-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25300313/macos-aarch64-specific-3-test.log)
[macos-aarch64-specific-4-test.log](https://github.com/user-attachments/files/25300314/macos-aarch64-specific-4-test.log)
[macos-aarch64-specific-5-test.log](https://github.com/user-attachments/files/25300315/macos-aarch64-specific-5-test.log)
[macos-aarch64-specific-6-test.log](https://github.com/user-attachments/files/25300316/macos-aarch64-specific-6-test.log)
-------------
Commit messages:
- Backport 9435d5b89ca08595f0f2f8d029c00bc6d1f30104
Changes: https://git.openjdk.org/jdk25u-dev/pull/261/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=261&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8346154
Stats: 90 lines in 6 files changed: 46 ins; 9 del; 35 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/261.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/261/head:pull/261
PR: https://git.openjdk.org/jdk25u-dev/pull/261
More information about the jdk-updates-dev
mailing list