[jdk25u-dev] RFR: 8367784: java/awt/Focus/InitialFocusTest/InitialFocusTest1.java failed with Wrong focus owner

Roland Mesde duke at openjdk.org
Wed Feb 11 09:51:00 UTC 2026


Backporting JDK-8367784: java/awt/Focus/InitialFocusTest/InitialFocusTest1.java failed with Wrong focus owner.

This PR fixes intermittent failure in InitialFocusTest1.java where wrong component receives initial focus.

This depends on https://github.com/openjdk/jdk25u-dev/pull/247

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/InitialFocusTest1.java

Results attached:

[windows-x64-specific-test.log](https://github.com/user-attachments/files/25220736/windows-x64-specific-test.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25220737/macos-aarch64-specific-test.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/25220738/linux-x64-specific-test.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25220739/linux-aarch64-specific-test.log)

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

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

Commit messages:
 - Backport 5855fd2f654175c05341cc03ebf188d4db3e407d

Changes: https://git.openjdk.org/jdk25u-dev/pull/252/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=252&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367784
  Stats: 24 lines in 1 file changed: 12 ins; 1 del; 11 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/252.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/252/head:pull/252

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


More information about the jdk-updates-dev mailing list