You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2019/12/24 17:48:00 UTC

[jira] [Resolved] (NETBEANS-2327) File.mkdir() may fail and cause crash.

     [ https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi resolved NETBEANS-2327.
---------------------------------------
    Resolution: Abandoned

> File.mkdir() may fail and cause crash.
> --------------------------------------
>
>                 Key: NETBEANS-2327
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2327
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: bd2019us
>            Priority: Major
>              Labels: patch, pull-request-available
>         Attachments: 1.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Locations:
> (1) java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does not exist. The ensure safety, the File.mkdirs() method should be used, which won't cause extra performance overhead. Besides, this change is easy to validate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists