RFR: 8347277: java/awt/Focus/ComponentLostFocusTest.java fails intermittently [v5]

Sergey Bylokhov serb at openjdk.org
Fri Sep 5 17:51:11 UTC 2025


On Thu, 4 Sep 2025 03:40:25 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> 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 unwanted changes from .gitignore

Marked as reviewed by serb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27039#pullrequestreview-3190305073


More information about the client-libs-dev mailing list