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 E1B041076C for ; Fri, 28 Feb 2014 05:50:23 +0000 (UTC) Received: (qmail 68689 invoked by uid 500); 28 Feb 2014 05:50:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68276 invoked by uid 500); 28 Feb 2014 05:50:21 -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 68215 invoked by uid 99); 28 Feb 2014 05:50:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Feb 2014 05:50:20 +0000 Date: Fri, 28 Feb 2014 05:50:20 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-257) 7z should support the BCJ filter 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-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915483#comment-13915483 ] Stefan Bodewig commented on COMPRESS-257: ----------------------------------------- x86 BCJ is in with svn revision 1572827 I still need to add a few tests and look into 7z's code to see whether it might set any options in coder properties. Also XZ for Java supports some of the other BCJ platforms as well as Delta that I may want to wire up as well. > 7z should support the BCJ filter > -------------------------------- > > Key: COMPRESS-257 > URL: https://issues.apache.org/jira/browse/COMPRESS-257 > Project: Commons Compress > Issue Type: Improvement > Components: Archivers > Affects Versions: 1.6, 1.7 > Reporter: Stefan Mueller > Priority: Minor > Labels: 7zip > Attachments: 7-ZipPortableCopy.7z > > > I created an archiv with 7zip 9.20 containing the 7-ZipPortable directory. Already tried to use a copy of the directory, so > the program does not archive itself. The standard setting where used: > Compression level: normal > Compression method: lzma2 > Dictionary size: 16 MB > Word size: 32 > Solid Block size: 2 GB > Small amount of code: > //Open archive > SevenZFile input = new SevenZFile(new File(arcName)); > SevenZArchiveEntry entry; > while((entry = input.getNextEntry()) != null) > {...} > The exception thrown: > java.io.IOException: Unsupported compression method [3, 3, 1, 3] > at org.apache.commons.compress.archivers.sevenz.Coders.addDecoder(Coders.java:51) > at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecoderStack(SevenZFile.java:849) > at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecodingStream(SevenZFile.java:817) > at org.apache.commons.compress.archivers.sevenz.SevenZFile.getNextEntry(SevenZFile.java:150) > at compress.SevenZipError.main(SevenZipError.java:36) -- This message was sent by Atlassian JIRA (v6.1.5#6160)