> 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: Review comments fixed: formatting changes ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27039/files - new: https://git.openjdk.org/jdk/pull/27039/files/2795ea44..1ea3a8ae Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27039&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27039&range=01-02 Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 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