maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tang Xinye (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MNG-5844) Close IO Streams in finally or try-with-resource statement
Date Sat, 20 Jun 2015 09:50:00 GMT

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

Tang Xinye updated MNG-5844:
----------------------------
    Summary: Close IO Streams in finally or try-with-resource statement  (was: Close IO Streams
in finally block)

> Close IO Streams in finally or try-with-resource statement
> ----------------------------------------------------------
>
>                 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)

Mime
View raw message