<Swing Dev> JDK9 Review Request for 8067660: JFileChooser create new folder fails silently
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Wed Nov 25 15:59:48 UTC 2015
19.11.2015 13:09, Rajeev Chamyal ?????:
> Hello All,
>
> Please review the following fix for Jdk9:
>
> Bug:https://bugs.openjdk.java.net/browse/JDK-8067660
>
> Webrev:http://cr.openjdk.java.net/~rchamyal/8067660/webrev.00/
> <http://cr.openjdk.java.net/%7Erchamyal/8067660/webrev.00/>
>
> Issue: jFileChooser create new folder fails silently on windows
> without any exception.
>
> Fix: Throwing an IOException from
> GenericFileSystemView::createNewFolder,WindowsFileSystemView::createNewFolder
> andUnixFileSystemView::createNewFolder if mkdirs call returns false.
>
The exception message in the fix is: "Access denied". Are there
other reasons for which the File.mkdirs() can return false?
Thanks,
Alexandr.
>
> Regards,
> Rajeev Chamyal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20151125/4c10292d/attachment.html>
More information about the swing-dev
mailing list