[ 
https://issues.apache.org/jira/browse/MNG-5844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593396#comment-14593396
 ] 

ASF GitHub Bot commented on MNG-5844:
-------------------------------------

Github user sugartxy commented on the pull request:

    https://github.com/apache/maven/pull/53#issuecomment-113508412
  
    @ifedorenko @jvanzyl thx. I will rewrite it using try-with-resources ASAP. 


> Close IO Streams in finally block
> ---------------------------------
>
>                 Key: MNG-5844
>                 URL: https://issues.apache.org/jira/browse/MNG-5844
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Tang Xinye
>            Priority: Critical
>
> The problem here is that if an exception is thrown during the read process 
> the method will exit without closing the stream and hence without releasing 
> the file system resources, it may run out of resources before it does run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to