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

Dong Li resolved KYLIN-2044.
----------------------------
       Resolution: Fixed
    Fix Version/s: v1.6.0

> 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
>            Assignee: Dong Li
>            Priority: Minor
>             Fix For: v1.6.0
>
>
> {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)

Reply via email to