JDK-7125267 : [macosx] TrayIcon removal test invariably crashes on System.exit after successful completion
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2011-12-27
  • Updated: 2012-09-25
  • Resolved: 2012-02-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.
7u4 b11Fixed
Test (attached) consistently crashes on exit after report about success.
Crash logs attached. It also wants JavaCup.gif, do you need it?

SUGGESTED FIX The fix is to make that drawin operation no-op.

EVALUATION Unexpectedly for me, OS draws into the status item's custom view even after the status item has been removed from the status bar.

PUBLIC COMMENTS Build: b222 AWT_SystemTray/Automated/TrayIconRemoveTest AWT_SystemTray/Automated/PropertyChangeListener