gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-493) Unclosed DataInputBuffer in IOUtils#deserialize()
Date Sun, 11 Sep 2016 17:49:20 GMT
Ted Yu created GORA-493:
---------------------------

             Summary: Unclosed DataInputBuffer in IOUtils#deserialize()
                 Key: GORA-493
                 URL: https://issues.apache.org/jira/browse/GORA-493
             Project: Apache Gora
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    DataInputBuffer buffer = new DataInputBuffer();
    buffer.reset(in, in.length);
    return deserialize(conf, buffer, obj);
{code}
buffer should be closed upon return from the method.

In serialize(), there is similar problem for DataOutputBuffer.



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

Mime
View raw message