You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2016/10/07 10:25:20 UTC

[jira] [Resolved] (KYLIN-2051) Potentially ineffective call to IOUtils.closeQuietly()

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

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

> Potentially ineffective call to IOUtils.closeQuietly()
> ------------------------------------------------------
>
>                 Key: KYLIN-2051
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2051
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Dong Li
>            Priority: Minor
>             Fix For: v1.6.0
>
>
> Here is an example from ZipFileUtils.java :
> {code}
>                 IOUtils.copy(zipInputStream, outputStream);
>                 IOUtils.closeQuietly(outputStream);
> {code}
> IOUtils.copy() may throw IOE, leaving IOUtils.closeQuietly() ineffective.
> This problem may be in other classes too.



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