commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garydgregory <>
Subject [GitHub] commons-compress pull request #20: COMPRESS-382
Date Tue, 25 Apr 2017 09:06:20 GMT
Github user garydgregory 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 --
    I always like linking to the cause exception...

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