geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaloyan Spiridonov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XBEAN-295) ZipFile and ZipOutputStream are not closed properly
Date Thu, 29 Sep 2016 08:50:20 GMT

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

Kaloyan Spiridonov updated XBEAN-295:
-------------------------------------
    Description: In JarOptimizer class at lines 107 and 108 ZipFile and ZipOutputStream are
created and they are closed on lines 133 and 134. If something happens between 107 and 133
lines  (For example Exception is thrown) then the ZipFile and ZipOutputStream will remain
open.  (was: In JarOptimizer class at lines 106 and 107 ZipFile and ZipOutputStream are created
and they are closed on lines 133 and 134. If something happens between 107 and 133 lines 
(For example Exception is thrown) then the ZipFile and ZipOutputStream will remain open.)

> ZipFile and ZipOutputStream are not closed properly
> ---------------------------------------------------
>
>                 Key: XBEAN-295
>                 URL: https://issues.apache.org/jira/browse/XBEAN-295
>             Project: XBean
>          Issue Type: Bug
>          Components: asm
>    Affects Versions: 4.5
>            Reporter: Kaloyan Spiridonov
>
> In JarOptimizer class at lines 107 and 108 ZipFile and ZipOutputStream are created and
they are closed on lines 133 and 134. If something happens between 107 and 133 lines  (For
example Exception is thrown) then the ZipFile and ZipOutputStream will remain open.



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

Mime
View raw message