You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/09/23 22:02:20 UTC
[jira] [Created] (KYLIN-2044) Unclosed DataInputByteBuffer in
BitmapCounter#peekLength
Ted Yu created KYLIN-2044:
-----------------------------
Summary: Unclosed DataInputByteBuffer in BitmapCounter#peekLength
Key: KYLIN-2044
URL: https://issues.apache.org/jira/browse/KYLIN-2044
Project: Kylin
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
{code}
DataInputByteBuffer input = new DataInputByteBuffer();
input.reset(new ByteBuffer[] { in });
MutableRoaringBitmap bitmap = new MutableRoaringBitmap();
try {
bitmap.deserialize(input);
} catch (IOException e) {
throw new IllegalStateException(e);
}
{code}
input should be closed upon return from the method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)