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

Raul Gutierrez Segales commented on ZOOKEEPER-2218:
---------------------------------------------------

i.e.: there are errors like:

{code}
   [exec]     [javac]   location: class JRecord
     [exec]     [javac] 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/java/main/org/apache/jute/compiler/JRecord.java:749:
 error: cannot find symbol
     [exec]     [javac]             cs.close();
{code}

Please test locally before submitting the patch. 

> Close IO Streams in finally block
> ---------------------------------
>
>                 Key: ZOOKEEPER-2218
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2218
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Tang Xinye
>            Assignee: Bill Havanki
>            Priority: Critical
>         Attachments: ZOOKEEPER-2218.patch
>
>
> 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