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

Roland Mesde duke at openjdk.org
Thu Feb 12 12:25:38 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)

Roland Mesde has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk25u-dev/pull/252/files
  - new: https://git.openjdk.org/jdk25u-dev/pull/252/files/ba90dd7a..ba90dd7a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=252&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=252&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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