commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kinow <>
Subject [GitHub] commons-compress pull request #20: COMPRESS-382
Date Tue, 25 Apr 2017 12:13:38 GMT
Github user kinow commented on a diff in the pull request:
    --- Diff: src/main/java/org/apache/commons/compress/compressors/lzma/
    @@ -56,7 +56,7 @@ public LZMACompressorInputStream(final InputStream inputStream)
                 in = new LZMAInputStream(inputStream, MemoryLimit.getMemoryLimitInKb());
             } catch (org.tukaani.xz.MemoryLimitException e) {
                 //convert to commons-compress exception
    -            throw new MemoryLimitException("exceeded calculated memory limit", e);
    +            throw new MemoryLimitException(e.getMemoryNeeded(), e.getMemoryLimit());
    --- End diff --
    Sounds good. There are a few other places in this pull request where the root exception
is discarded too.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message