JDK-8072769 : System tray icon title freezes java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-02-06
  • Updated: 2015-09-29
  • Resolved: 2015-04-06
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.
JDK 8 JDK 9
8u60Fixed 9 b61Fixed
Description
FULL PRODUCT VERSION :
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
By using the system tray icon demo application  http://docs.oracle.com/javase/tutorial/uiswing/examples/misc/index.html#TrayIconDemo and modifing the title of a popup to : "TachoSafe RDU Manager - pro_drivers - Driver Card download Error"

like this :

                    trayIcon.displayMessage("TachoSafe RDU Manager - pro_drivers - Driver Card download Error",
                            "This is an error message", TrayIcon.MessageType.ERROR);


Java will freez.
I thought the problem could be that if i put more than 63 characters in the title, but no, or exactly 64 characters, but no.



REGRESSION.  Last worked in version 7u76

ADDITIONAL REGRESSION INFORMATION: 
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
By using the system tray icon demo application  http://docs.oracle.com/javase/tutorial/uiswing/examples/misc/index.html#TrayIconDemo and modifing the title of a popup to : "TachoSafe RDU Manager - pro_drivers - Driver Card download Error"

like this :

                    trayIcon.displayMessage("TachoSafe RDU Manager - pro_drivers - Driver Card download Error",
                            "This is an error message", TrayIcon.MessageType.ERROR);


REPRODUCIBILITY :
This bug can be reproduced always.

SUPPORT :
YES


Comments
Regression of JDK-7064312
25-02-2015

please evaluate, it works fine on 7u
09-02-2015

Attached test crashes with 8u25 and 8u31. Test works fine with recent updates of jdk7.
09-02-2015