Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6968426

32bit jar utility on 32bit Windows XP pro (using NTFS filessystem) is unable to open a 4Gig archive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6u20
    • Fix Version/s: 6-pool
    • Component/s: tools
    • Labels:
    • Subcomponent:
      jar
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Use Case:

      bash-3.00$ dd if=/dev/urandom of=myfile.dat bs=1k count=1000000
      bash-3.00$ jar cvf myfile.dat.jar ./myfile.dat
      added manifest
      adding: myfile.datl(in = 1024000) (out= 1024315)(deflated 0%)

      -rwxrwxrwx+ 1 haroonn staff 1024000000 Jul 9 21:23 myfile.dat
      -rwxrwxrwx+ 1 haroonn staff 1024000000 Jul 9 21:27 myfile2.dat
      -rwxrwxrwx+ 1 haroonn staff 1024000000 Jul 9 21:27 myfile3.dat
      -rwxrwxrwx+ 1 haroonn staff 1024000000 Jul 9 21:27 myfile4.dat

      jar cvf 4gig.jar myfile*

      jar xvf 4gig.jar
        created: META-INF/
       inflated: META-INF/MANIFEST.MF
      java.util.zip.ZipException: invalid block type
              at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
              at java.util.zip.ZipInputStream.read(ZipInputStream.java:146)
              at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:92)
              at sun.tools.jar.Main.extractFile(Main.java:936)
              at sun.tools.jar.Main.extract(Main.java:852)
              at sun.tools.jar.Main.run(Main.java:242)
              at sun.tools.jar.Main.main(Main.java:1149)

      Winzip and 7zip were also unable to open this archive

        Attachments

          Activity

            People

            • Assignee:
              coffeys Sean Coffey
              Reporter:
              hnassiry Haroon Nassiry (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: