You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Stevens (JIRA)" <ji...@apache.org> on 2011/05/20 14:26:47 UTC

[jira] [Commented] (SSHD-132) NativeSshFile does not close RandomAccessFile on IOException

    [ 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