Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread Stefan Bodewig
On 2014-02-28, sebb wrote: > On 28 February 2014 17:47, Stefan Bodewig wrote: >> On 2014-02-28, sebb wrote: >>> Alternatively, can Compress detect the XZ version and refuse to run >>> BCJ, again with suitable message? >> No way short of parsing the OSGi attributes from the manifest. > The foll

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread sebb
On 28 February 2014 17:47, Stefan Bodewig wrote: > On 2014-02-28, sebb wrote: > >> Can Compress catch the specific Assertion Error and convert it to a >> message that explains the issue? Perhaps even provide a link to a >> Wiki FAQ? > > not without catching all AssertionErrors > > java.lang.Asser

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread Stefan Bodewig
On 2014-02-28, Gary Gregory wrote: > Do we have any idea WRT a new release of XZ? I've reported the problem a few hours ago and Lasse fixed it within minutes. This single line change is the only change since the 1.4 release cut six or seven month ago. Not sure whether he'd like to create a new

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread Gary Gregory
Do we have any idea WRT a new release of XZ? Gary On Fri, Feb 28, 2014 at 12:33 PM, sebb wrote: > On 28 February 2014 17:02, Gary Gregory wrote: > > On Fri, Feb 28, 2014 at 11:23 AM, Stefan Bodewig > wrote: > > > >> Hi, > >> > >> I've managed to implement the major BCJ filters for 7z (specia

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread Stefan Bodewig
On 2014-02-28, sebb wrote: > Can Compress catch the specific Assertion Error and convert it to a > message that explains the issue? Perhaps even provide a link to a > Wiki FAQ? not without catching all AssertionErrors java.lang.AssertionError: null at org.tukaani.xz.SimpleInputStream.(Unkn

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread sebb
On 28 February 2014 17:02, Gary Gregory wrote: > On Fri, Feb 28, 2014 at 11:23 AM, Stefan Bodewig wrote: > >> Hi, >> >> I've managed to implement the major BCJ filters for 7z (special filters >> for native executables) by simply invoking the XZ for Java >> implementations for it. This is needed

Re: [compress] problems with 7z BCJ methods

2014-02-28 Thread Gary Gregory
On Fri, Feb 28, 2014 at 11:23 AM, Stefan Bodewig wrote: > Hi, > > I've managed to implement the major BCJ filters for 7z (special filters > for native executables) by simply invoking the XZ for Java > implementations for it. This is needed for COMPRESS-257. > > Unfortunately there is a bug in X

[compress] problems with 7z BCJ methods

2014-02-28 Thread Stefan Bodewig
Hi, I've managed to implement the major BCJ filters for 7z (special filters for native executables) by simply invoking the XZ for Java implementations for it. This is needed for COMPRESS-257. Unfortunately there is a bug in XZ for Java that has already been fixed in git. When using a released