Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-295

ZipFile and ZipOutputStream are not closed properly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5
    • Fix Version/s: None
    • Component/s: asm
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kal0ian Kaloyan Spiridonov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: