[jdk25u-dev] Integrated: 8342401: [TESTBUG] javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java test fails in ubuntu 22.04 on SBR Hosts
Roland Mesde
duke at openjdk.org
Mon Feb 16 18:56:21 UTC 2026
On Thu, 12 Feb 2026 17:38:37 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8342401: [TESTBUG] javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java test fails in ubuntu 22.04 on SBR Hosts.
>
> This PR fixes intermittent JSpinnerButtonFocusTest.java failures caused by timing issues between UI creation and test execution. It adds proper delays, centers frame positioning, and moves listener registration.
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25298720/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25298721/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25298722/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25298723/linux-aarch64-specific-test.log)
This pull request has now been integrated.
Changeset: 9d6884a8
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/9d6884a89964e3220d20246af3539b44067fe14c
Stats: 24 lines in 1 file changed: 10 ins; 9 del; 5 mod
8342401: [TESTBUG] javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java test fails in ubuntu 22.04 on SBR Hosts
Backport-of: 55787fe5f52544ea902cac35f1f552e26d954167
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/262
More information about the jdk-updates-dev
mailing list