Hi Sergey,

On 23/03/2020 09:32, Sergey Bylokhov wrote:
Hello.
Please review the fix for jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-7131400
Fix: http://cr.openjdk.java.net/~serb/7131400/webrev.00

The java.awt.Desktop.edit()/print() methods behave differently
on macOS and Windows when the folder is passed as a parameter.

On Windows we throw IOException, and on macOS we open the folder using Finder.

Will the test leave open Finder windows if IOException is not thrown, i.e. in the case where the test fails?

This change aligns behavior and always throws an exception.

On linux these methods are not implemented and throw UnsupportedOperationException.
--
Regards,
Alexey

Reply via email to