[jdk25u-dev] RFR: 8256289: java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java failed with "RuntimeException: Wrong focus owner: java.awt.Button[button1,41,36,56x23,label=Button1]"
Roland Mesde
duke at openjdk.org
Wed Feb 11 09:51:07 UTC 2026
Backporting JDK-8256289: java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java failed with "RuntimeException: Wrong focus owner: java.awt.Button[button1,41,36,56x23,label=Button1]".
This PR removes AppletInitialFocusTest1.java from the ProblemList.txt file after confirming intermittent focus failures no longer occur, and refactors tests to remove obsolete "Applet" references.
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/Focus/InitialFocusTest
Results attached:
[windows-x64-specific-test.log](https://github.com/user-attachments/files/25218146/windows-x64-specific-test.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25218147/macos-aarch64-specific-test.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/25218148/linux-x64-specific-test.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25218149/linux-aarch64-specific-test.log)
-------------
Commit messages:
- Backport 21c985f2d75401fd81fa5eaf1486b0be60246962
Changes: https://git.openjdk.org/jdk25u-dev/pull/247/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=247&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8256289
Stats: 293 lines in 5 files changed: 146 ins; 147 del; 0 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/247.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/247/head:pull/247
PR: https://git.openjdk.org/jdk25u-dev/pull/247
More information about the jdk-updates-dev
mailing list