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

Andreas Veithen resolved AXIS2-5952.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

> File.mkdir() may fail and cause crash.
> --------------------------------------
>
>                 Key: AXIS2-5952
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5952
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: bd2019us
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>         Attachments: 1.patch
>
>
> Locations:
> (1) 
> modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java:409
> (2) 
> modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/SrcCompiler.java:50
> The File.mkdir() method will fail if the parent directory does not exist. In 
> this case, since we cannot ensure the existence of parent directory and we 
> still need to create the directory, the File.mkdirs() should be preferred, 
> which is safe and without any lost. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to