You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/03/31 20:10:01 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 ]

bd2019us updated NETBEANS-2327:
-------------------------------
    Issue Type: Improvement  (was: Bug)

> File.mkdir() may fail and cause crash.
> --------------------------------------
>
>                 Key: NETBEANS-2327
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2327
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: bd2019us
>            Priority: Major
>
> 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