[jdk25u-dev] RFR: 8342401: [TESTBUG] javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java test fails in ubuntu 22.04 on SBR Hosts

duke duke at openjdk.org
Mon Feb 16 17:51:19 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)

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

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/262#issuecomment-3909774050


More information about the jdk-updates-dev mailing list