JDK-8256433 : javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java failed due to "sun.awt.SunToolkit$InfiniteLoop"
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 16
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86_64
  • Submitted: 2020-11-17
  • Updated: 2020-11-28
  • Resolved: 2020-11-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.

To download the current JDK release, click here.
JDK 16
16Resolved
Related Reports
Duplicate :  
Description
The following test failed in the JDK16 CI:

javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java

Here's a snippet from the log file:

#section:main
----------messages:(5/224)----------
command: main JComboBoxPopupLocation
reason: User specified action: run main/timeout=600 JComboBoxPopupLocation 
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 38.238
----------configuration:(3/43)----------
Boot Layer
  add modules: java.desktop

----------System.out:(0/0)----------
----------System.err:(21/1294)----------
sun.awt.SunToolkit$InfiniteLoop
	at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1474)
	at java.desktop/sun.awt.SunToolkit.realSync(SunToolkit.java:1402)
	at java.desktop/java.awt.Robot.waitForIdle(Robot.java:686)
	at java.desktop/java.awt.Robot.autoWaitForIdle(Robot.java:617)
	at java.desktop/java.awt.Robot.afterEvent(Robot.java:590)
	at java.desktop/java.awt.Robot.mouseMove(Robot.java:196)
	at JComboBoxPopupLocation.test(JComboBoxPopupLocation.java:149)
	at JComboBoxPopupLocation.step(JComboBoxPopupLocation.java:93)
	at JComboBoxPopupLocation.main(JComboBoxPopupLocation.java:65)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:831)

JavaTest Message: Test threw exception: sun.awt.SunToolkit$InfiniteLoop
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: sun.awt.SunToolkit$InfiniteLoop
----------rerun:(46/5067)*----------
Comments
This is a bug in awt robot or event processing.
17-11-2020