[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [jira] [Commented] (SSHD-132) NativeSshFile does not close
From:       "Michael Stevens (JIRA)" <jira () apache ! org>
Date:       2011-05-20 12:26:47
Message-ID: 1434214164.30301.1305894407379.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/SSHD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036796#comment-13036796 \
] 

Michael Stevens commented on SSHD-132:
--------------------------------------

This patch deals with the issues in SSHD-118 without the nasty System.out logging

> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
> 
> Key: SSHD-132
> URL: https://issues.apache.org/jira/browse/SSHD-132
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.5.0
> Reporter: Michael Stevens
> Attachments: fileHandle.patch
> 
> 
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the \
> RandomAccessFile are not close. This causes a file handle leak.
> Patch is attached

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic