gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-440) Fix several instances of 'Method may fail to close stream' within gora-accumulo BinaryEncoder
Date Fri, 05 Feb 2016 06:32:39 GMT

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

Lewis John McGibbney updated GORA-440:
--------------------------------------
    Fix Version/s:     (was: 0.8)
                   0.6.1

> Fix several instances of 'Method may fail to close stream' within gora-accumulo BinaryEncoder
> ---------------------------------------------------------------------------------------------
>
>                 Key: GORA-440
>                 URL: https://issues.apache.org/jira/browse/GORA-440
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-accumulo
>    Affects Versions: 0.6.1
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.7
>
>
> A number of methods within the BinaryEncoder class create an IO stream object, does not
assign it to any fields, pass it to other methods that might close it, or return it, and does
not appear to close the stream on all paths out of the method.  This may result in a file
descriptor leak.  It is generally a good idea to use a finally block to ensure that streams
are closed.



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

Mime
View raw message