Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 25764 invoked from network); 24 Feb 2009 09:28:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 09:28:25 -0000 Received: (qmail 15153 invoked by uid 500); 24 Feb 2009 09:28:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 15085 invoked by uid 500); 24 Feb 2009 09:28:24 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 15074 invoked by uid 99); 24 Feb 2009 09:28:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 01:28:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 09:28:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D85E8234C495 for ; Tue, 24 Feb 2009 01:28:01 -0800 (PST) Message-ID: <93799374.1235467681885.JavaMail.jira@brutus> Date: Tue, 24 Feb 2009 01:28:01 -0800 (PST) From: "Jukka Zitting (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (SANDBOX-286) BZip2CompressorInputStream doesn't work if wrapped into InputStreamReader In-Reply-To: <1419409158.1234373939602.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676226#action_12676226 ] Jukka Zitting commented on SANDBOX-286: --------------------------------------- What do you mean by "doesn't work"? Are you unable to read anything from the InputStreamReader that wraps the bzip2 stream? A test case that illustrates the problem would be helpful. > BZip2CompressorInputStream doesn't work if wrapped into InputStreamReader > ------------------------------------------------------------------------- > > Key: SANDBOX-286 > URL: https://issues.apache.org/jira/browse/SANDBOX-286 > Project: Commons Sandbox > Issue Type: Bug > Components: Compress > Affects Versions: Nightly Builds > 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.