-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
22
-
aarch64
-
os_x
The following test failed in the JDK22 CI:
javax/swing/SwingWorker/TestDoneBeforeDoInBackground.java
Here's a snippet from the log file:
#section:main
----------messages:(7/295)----------
command: main TestDoneBeforeDoInBackground
reason: User specified action: run main TestDoneBeforeDoInBackground
started: Thu Oct 05 10:24:50 GMT 2023
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Thu Oct 05 10:24:52 GMT 2023
elapsed time (seconds): 2.295
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(5/149)----------
Working...
doInBackgroundStarted: false doInBackgroundFinished: false done: false state: STARTED
Working...
Cleaning up
Got interrupted second time!
----------System.err:(22/1867)----------
java.lang.RuntimeException: done called before doInBackground is finished
at TestDoneBeforeDoInBackground$1.done(TestDoneBeforeDoInBackground.java:76)
at java.desktop/javax.swing.SwingWorker$4.run(SwingWorker.java:749)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:847)
at java.desktop/sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:857)
at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:311)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:243)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: done called before doInBackground is finished
----------rerun:(36/5843)*----------
javax/swing/SwingWorker/TestDoneBeforeDoInBackground.java
Here's a snippet from the log file:
#section:main
----------messages:(7/295)----------
command: main TestDoneBeforeDoInBackground
reason: User specified action: run main TestDoneBeforeDoInBackground
started: Thu Oct 05 10:24:50 GMT 2023
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Thu Oct 05 10:24:52 GMT 2023
elapsed time (seconds): 2.295
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(5/149)----------
Working...
doInBackgroundStarted: false doInBackgroundFinished: false done: false state: STARTED
Working...
Cleaning up
Got interrupted second time!
----------System.err:(22/1867)----------
java.lang.RuntimeException: done called before doInBackground is finished
at TestDoneBeforeDoInBackground$1.done(TestDoneBeforeDoInBackground.java:76)
at java.desktop/javax.swing.SwingWorker$4.run(SwingWorker.java:749)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:847)
at java.desktop/sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:857)
at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:311)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:243)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: done called before doInBackground is finished
----------rerun:(36/5843)*----------