RFR: 8347277: java/awt/Focus/ComponentLostFocusTest.java fails intermittently [v2]
Manukumar V S
mvs at openjdk.org
Tue Sep 2 07:29:38 UTC 2025
> Issue:
> java/awt/Focus/ComponentLostFocusTest.java fails intermittently(2/40) with an exception " Execution failed: `main' threw exception: java.lang.RuntimeException: TextField got no focus! Test failed."
> I have seen it failing in all platforms, but predominantly in macos platform.
> It fails sometimes in CI also.
>
> Fix:
> Added a countdownlatch for tracking focusGained
> Added screenshot logic
>
> Testing:
> Tested in all mach5 platforms and got all PASS.
Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
Removed package statement
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27039/files
- new: https://git.openjdk.org/jdk/pull/27039/files/f3bed35d..2795ea44
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27039&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27039&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27039.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27039/head:pull/27039
PR: https://git.openjdk.org/jdk/pull/27039
More information about the client-libs-dev
mailing list