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

BZip2CompressorInputStream doesn't work if wrapped into InputStreamReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 1.0
    • None
    • None
    • Unix

    Description

      The BZip2CompressorInputStream doesn't work if wrapped into InputStreamReader because it doesn't implement "public int available()" from InputStream.

      Adding the following method to BZip2CompressorInputStream fixes the problem:

      public int available() throws IOException

      { return(in.available()); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            irockel Ingo Rockel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: