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

bzip2 decompression terminates after 900000 bytes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: Compressors
    • Labels:
      None
    • Environment:

      Windows7 64bit JDK7u1,2

      Description

      bzip2 decompression terminates (w/o error) after 900000 bytes

      try {
      InputStream iin = new BZip2CompressorInputStream(new FileInputStream(bzip2 compressed file that was uncompressed > 900000 bytes in size);
      int data = iin.read();
      while (data != -1)

      { System.out.print((char) data); ++nBytes; data = iin.read(); }

      } catch (IOException iox)

      { /**/ }

      System.out.println("#Bytes read " + nBytes);

      prints: #Bytes read 900000

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hannes2horns Hans horn

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment