Hi, Vikrant.
Can you please dispose the frame at the end of the test, something like this:
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
frame.dispose();
}
});
On 18/01/2019 05:47, Vikrant Agarwal wrote:
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
--
Best regards, Sergey.