Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C50A9A97 for ; Tue, 8 Nov 2011 14:46:13 +0000 (UTC) Received: (qmail 40755 invoked by uid 500); 8 Nov 2011 14:46:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40653 invoked by uid 500); 8 Nov 2011 14:46:13 -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 40645 invoked by uid 99); 8 Nov 2011 14:46:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 14:46:13 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 14:46:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ED8D53D881 for ; Tue, 8 Nov 2011 14:45:51 +0000 (UTC) Date: Tue, 8 Nov 2011 14:45:51 +0000 (UTC) From: "Hans horn (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <879623654.11008.1320763551974.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <69684816.26.1320422151876.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COMPRESS-161) bzip2 decompression terminates after 900000 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COMPRESS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146333#comment-13146333 ] Hans horn commented on COMPRESS-161: ------------------------------------ Stefan, I had not bothered looking too closely at the errors I was getting. If I had, I'd noticed that I had not provided org.tukaani. Now with org.tukaani, there're no more problems with common compress xz Wrt patches for parallel bzip2: I don't understand enough of the subject matter to be able to contribute. Greets, H. > bzip2 decompression terminates after 900000 bytes > ------------------------------------------------- > > Key: COMPRESS-161 > URL: https://issues.apache.org/jira/browse/COMPRESS-161 > Project: Commons Compress > Issue Type: Bug > Components: Compressors > Affects Versions: 1.3 > Environment: Windows7 64bit JDK7u1,2 > Reporter: Hans horn > Priority: Critical > Fix For: 1.4 > > Attachments: INT1_aminey.inp.bz2 > > > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira