<AWT Dev> <Awt Dev> [9] Review Request for 8081457: TrayIcon tests fail in OEL 7 only

Semyon Sadetsky semyon.sadetsky at oracle.com
Tue Oct 13 11:24:57 UTC 2015


Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8081457
webrev: http://cr.openjdk.java.net/~ssadetsky/8081457/webrev.00/

In OEL7 the system tray was changed a lot. It is totally hidden by 
default and its tray icons only capable to receive click events. Mouse 
motion events and double click is not supported in the tray.
Also input events are sent to the embedded frame instead of the canvas 
with the icon. The mouse press event is sent to the embedded frame only 
after button is released.
In the proposed fix the mouse click listener is added to the embedded 
frame. The tray icon test suite is modified to detect and pass OEL7 
system tray.

--Semyon


More information about the awt-dev mailing list