JDK-8113976 : Native crash from glass on JavaFX application shutdown
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-08-03
  • Updated: 2018-07-02
  • Resolved: 2011-09-13
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.
Other
fx2.0.2Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The JavaFX launcher will call Toolkit.exit() when the application is done -- this happens when the last window is closed, or an explicit call to Platform.exit(), or if an exception is thrown from the init() or start() method. The QuantumToolkit shuts down the pulse timer and the renderer, then calls Application.terminate in glass.

This works fine on Windows.

On Mac, we frequently get an exception. This may be provoked by the toolkit continuing to use glass after the glass Application has been terminated.
Comments
Verified on 2.0.2b08 and MacOS 10.6.8
16-11-2011

Fixed in 2.0.2-graphics scrum b4 with this change set changeset: 562:105a6a7142dd tag: tip user: Morris Meyer <morris.meyer@oracle.com> date: Mon Sep 12 09:50:21 2011 -0400 summary: RT-15599 - fix native crash from Glass Mac Command-Q application shutdown
12-09-2011

Have a fix for this issue here - http://javaweb.sfbay.sun.com/~mm51552/webrevs/01/RT-15599
07-09-2011

For Presidio we will work around this issue (see RT-15601). We should fix the root cause in a Presidio Update release.
05-08-2011