Hi,

I'm in the process of adding BCJ support to Apache Commons Compress' 7z
package.  Basically I do something like

   X86Options.getInputStream(stream) 

with XZ's X86Options class.  Which leads to an AssertionError.

X86Options does

    public InputStream getInputStream(InputStream in) {
        return new SimpleInputStream(in, new X86(false, startOffset));
    }

and SimpleInputStream does

    SimpleInputStream(InputStream in, SimpleFilter simpleFilter) {
        ...
        assert simpleFilter == null;

which is obviously wrong.  I think != is intended (and matches the
comment right in front of the assert).

Cheers

        Stefan

Reply via email to