[ https://issues.apache.org/jira/browse/COMPRESS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg moved SANDBOX-286 to COMPRESS-2: ------------------------------------------------ Component/s: (was: Compress) Affects Version/s: (was: Nightly Builds) Key: COMPRESS-2 (was: SANDBOX-286) Project: Commons Compress (was: Commons Sandbox) > BZip2CompressorInputStream doesn't work if wrapped into InputStreamReader > ------------------------------------------------------------------------- > > Key: COMPRESS-2 > URL: https://issues.apache.org/jira/browse/COMPRESS-2 > Project: Commons Compress > Issue Type: Bug > Environment: Unix > Reporter: Ingo Rockel > > 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()); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.