<Swing Dev> [13] RFR [JDK-8217377] javax/swing/JPopupMenu/6583251/bug6583251.java failed with UnsupportedOperation exception

Vikrant Agarwal vikrant.v.agarwal at oracle.com
Fri Jan 18 13:47:50 UTC 2019


Hi All,

 

Please review this fix for JDK-8217377:

Bug: https://bugs.openjdk.java.net/browse/JDK-8217377

Webrev: http://cr.openjdk.java.net/~vagarwal/8217377/webrev.0/

 

Summary: test/jdk/javax/swing/JPopupMenu/6583251/bug6583251.java was failing with UnsupportedOperationException  wherever SystemTray/Tray icon were unsupported.

This fix adds a check to ensure that SystemTray is supported before testing and handles UnsupportedOperationException which is thrown if SystemTray/Tray icon is not supported.

 

Best Regards,

Vikrant

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190118/8418a768/attachment.html>


More information about the swing-dev mailing list