Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-228

ZipException on reading valid zip64 file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Archivers
    • Labels:
    • Environment:

      java.runtime.name=OpenJDK Runtime Environment
      java.home=/usr/lib/jvm/java-6-openjdk-amd64/jre
      java.runtime.version=1.6.0_27-b27

      commons-compress-1.5

      Description

      ZipFile zip = new ZipFile(new File("ordertest-64.zip")); throws ZipException "central directory zip64 extended information extra field's length doesn't match central directory data. Expected length 16 but is 28".

      The archive was created by using DotNetZip-WinFormsTool uzing zip64 flag (forces always to make zip64 archives).

      Zip file is tested from the console: $zip -T ordertest-64.zip

      Output:
      test of ordertest-64.zip OK

      I can open the archive with FileRoller without problem on my machine, browse and extract it.

        Attachments

        1. ordertest-64.zip
          60 kB
          Valerij Bancer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bancer Valerij Bancer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: