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

Jar compression data incorrect if input file over 2GB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • solaris-nevada
    • core-libs

      When you use jar to compress a file voer 2GB in size, it reports the input file size incorrectly, and this the compression ration incorrectly.
      # jar -cvMf base_10g.cpio.jar base_10g.cpio
      adding: base_10g.cpio(in = -919863296) (out= 880247831)(deflated 195%)
      #
      In this case, the input file was 3.1 GB.
      The output file seems to be correct.

      ###@###.### 2005-03-07 18:35:21 GMT

            bristor Dave Bristor (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: