[jdk25u-dev] Integrated: 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
Thu Feb 12 12:11:10 UTC 2026


On Mon, 9 Feb 2026 18:19:57 GMT, Roland Mesde <duke at openjdk.org> wrote:

> 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)

This pull request has now been integrated.

Changeset: 89112c94
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/89112c94ef0a7b33a80c7c6365881a5fb01a1307
Stats:     293 lines in 5 files changed: 146 ins; 147 del; 0 mod

8256289: java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java failed with "RuntimeException: Wrong focus owner: java.awt.Button[button1,41,36,56x23,label=Button1]"

Backport-of: 21c985f2d75401fd81fa5eaf1486b0be60246962

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

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


More information about the jdk-updates-dev mailing list