bd2019us created NETBEANS-2327:
----------------------------------

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


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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to