-
Bug
-
Resolution: Fixed
-
P4
-
24, 25, 26
-
b15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8367122 | 25.0.2 | Manukumar V S | P4 | Resolved | Fixed | master |
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.
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.
- backported by
-
JDK-8367122 java/awt/Focus/ComponentLostFocusTest.java fails intermittently
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/961e8ee9
-
Commit(master) openjdk/jdk/e2a503e2
-
Review(master) openjdk/jdk25u/172
-
Review(master) openjdk/jdk/27039