JDK-8127110 : Restore workaround to call System.exit on Mac when running the J2D pipeline
  • Type: Bug
  • Component: javafx
  • Sub-Component: application-lifecycle
  • Affected Version: fx2.1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-02-10
  • Updated: 2015-06-17
  • Resolved: 2012-02-10
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.1Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Because of a critical JDK issue, CR 7144542, every JavaFX program that uses the software J2D pipeline on Mac will crash on exit (see RT-19541).

If the underlying problem cannot be resolved for JDK 7u4, we need to restore the workaround to call System.exit on Mac when the  last window is closed if we are running the J2D software pipeline. This workaround was originally implemented in RT-15601.

Comments
http://jfxsrc.us.oracle.com/javafx/2.1/scrum/graphics/rt/rev/d7d844af90c5
10-02-2012

I verified that restoring this workaround eliminates the crash. Given the severity of the bug, this workaround seems like a reasonable alternative. Note that very few systems on Mac will hit the software fallback (primarily some older ATI cards).
10-02-2012