JDK-8197800 : Test java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java fails on Windows
Type:Bug
Component:client-libs
Affected Version:10,11,12
Priority:P4
Status:Resolved
Resolution:Fixed
OS:windows_10
Submitted:2018-02-13
Updated:2025-04-03
Resolved:2021-04-28
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This test fails consistently when run individually on Windows 10
Comments
Fix Request (11u):
Should get backported for parity with 11.0.14-oracle. This only removes the test from the ProblemList. Fix JDK-8196100 is already backported to 11.0.12. Applies cleanly. Headful test has passed.
This test rootcause which is
sun.awt.SunToolkit$InfiniteLoop
at sun.awt.SunToolkit.realSync(SunToolkit.java:1498)
at sun.awt.SunToolkit.realSync(SunToolkit.java:1426)
at java.awt.Robot.waitForIdle(Robot.java:574)
at NoEventsTest.pause(NoEventsTest.java:50)
at NoEventsTest.performFocusClick(NoEventsTest.java:161)
at NoEventsTest.main(NoEventsTest.java:109)
is found out to be same as with this bug JDK-8000171 via this comment
https://bugs.openjdk.java.net/browse/JDK-8000171?focusedCommentId=13825066&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13825066
which is dup of 8196100: javax/swing/text/JTextComponent/5074573/bug5074573.java fails and and fixed there.
So, we can remove the test from problemlist