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

Roland Mesde duke at openjdk.org
Thu Feb 12 16:15:49 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. The pull request contains three additional commits since the last revision:

 - Merge master
 - Backport 5855fd2f654175c05341cc03ebf188d4db3e407d
 - Backport 21c985f2d75401fd81fa5eaf1486b0be60246962

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

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

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

  Stats: 16977 lines in 379 files changed: 6002 ins; 3481 del; 7494 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