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] [Created] (XBEAN-295) ZipFile and ZipOutputStream are not closed properly
Date Thu, 29 Sep 2016 08:46:21 GMT
Kaloyan Spiridonov created XBEAN-295:
----------------------------------------

             Summary: 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 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.



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

Mime
View raw message