Looks fine.

On 3/28/20 7:31 am, Pankaj Bansal wrote:
Hi All,

Please review the following test only fix for jdk15.


Bug:

https://bugs.openjdk.java.net/browse/JDK-8241791

webrev:

http://cr.openjdk.java.net/~pbansal/8241791/webrev00/ 
<http://cr.openjdk.java.net/%7Epbansal/8241791/webrev00/>

Issue:

The testcase fail with exception "java.lang.UnsupportedOperationException : Caused 
by: java.lang.UnsupportedOperationException: The system tray is not supported on the 
current platform" on Ubuntu 18.04.

Cause:

The test cases are failing as Ubuntu 18.04 does not support SystemTray and the 
test is not handling the case properly. It test tries to use SystemTray and 
throws this exception.

Fix:

Added proper handling in test for case when the system does not support 
SystemTray. The test passes on Windows, Linux and Mac.

Regards,
Pankaj Bansal


--
Best regards, Sergey.

Reply via email to