You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/07 17:30:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated NETBEANS-2327:
-------------------------------------
    Labels: patch pull-request-available  (was: patch)

> 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: 10m
>  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
(v7.6.3#76005)

---------------------------------------------------------------------
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