-
Bug
-
Resolution: Fixed
-
P3
-
7u6
I get a RejectedExecutionException from disposePresentable from some of the unit tests in rt-closed/tests, for example:
[junit] Testsuite: javafx.stage.ShowAndWaitTest
[junit] java.util.concurrent.RejectedExecutionException: Task com.sun.prism.render.RenderJob@d1f3c3 rejected from com.sun.javafx.tk.quantum.QuantumRenderer@1dac112[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]
[junit] Tests run: 33, Failures: 0, Errors: 0, Time elapsed: 1.01 sec
[junit]
[junit] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2013)
[junit] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:816)
[junit] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1337)
[junit] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
[junit] at com.sun.javafx.tk.quantum.QuantumRenderer.disposePresentable(QuantumRenderer.java:176)
[junit] at com.sun.javafx.tk.quantum.WindowStage.setScene(WindowStage.java:186)
[junit] at javafx.stage.Window$10.invalidated(Window.java:751)
[junit] at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:127)
[junit] at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
[junit] at javafx.stage.Window.setShowing(Window.java:782)
[junit] at javafx.stage.Window.hide(Window.java:807)
[junit] at com.sun.javafx.stage.WindowPeerListener.closed(WindowPeerListener.java:89)
[junit] at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:68)
[junit] at com.sun.glass.ui.Window.handleWindowEvent(Window.java:1009)
[junit] at com.sun.glass.ui.Window.notifyDestroy(Window.java:924)
[junit] at com.sun.glass.ui.win.WinWindow._close(Native Method)
[junit] at com.sun.glass.ui.Window.close(Window.java:222)
[junit] at com.sun.glass.ui.Application.terminate(Application.java:270)
[junit] at com.sun.javafx.tk.quantum.QuantumToolkit.exit(QuantumToolkit.java:631)
[junit] at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:314)
[junit] at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:206)
[junit] at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
[junit] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
[junit] at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
[junit] at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
[junit] at java.lang.Thread.run(Thread.java:722)
[junit] Testsuite: javafx.stage.ShowAndWaitTest
[junit] java.util.concurrent.RejectedExecutionException: Task com.sun.prism.render.RenderJob@d1f3c3 rejected from com.sun.javafx.tk.quantum.QuantumRenderer@1dac112[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]
[junit] Tests run: 33, Failures: 0, Errors: 0, Time elapsed: 1.01 sec
[junit]
[junit] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2013)
[junit] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:816)
[junit] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1337)
[junit] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
[junit] at com.sun.javafx.tk.quantum.QuantumRenderer.disposePresentable(QuantumRenderer.java:176)
[junit] at com.sun.javafx.tk.quantum.WindowStage.setScene(WindowStage.java:186)
[junit] at javafx.stage.Window$10.invalidated(Window.java:751)
[junit] at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:127)
[junit] at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
[junit] at javafx.stage.Window.setShowing(Window.java:782)
[junit] at javafx.stage.Window.hide(Window.java:807)
[junit] at com.sun.javafx.stage.WindowPeerListener.closed(WindowPeerListener.java:89)
[junit] at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:68)
[junit] at com.sun.glass.ui.Window.handleWindowEvent(Window.java:1009)
[junit] at com.sun.glass.ui.Window.notifyDestroy(Window.java:924)
[junit] at com.sun.glass.ui.win.WinWindow._close(Native Method)
[junit] at com.sun.glass.ui.Window.close(Window.java:222)
[junit] at com.sun.glass.ui.Application.terminate(Application.java:270)
[junit] at com.sun.javafx.tk.quantum.QuantumToolkit.exit(QuantumToolkit.java:631)
[junit] at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:314)
[junit] at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:206)
[junit] at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
[junit] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
[junit] at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
[junit] at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
[junit] at java.lang.Thread.run(Thread.java:722)
- duplicates
-
JDK-8117665 Ensemble prints java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution on closing
-
- Closed
-