Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
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()); }