garydgregory commented on code in PR #754:
URL: https://github.com/apache/commons-compress/pull/754#discussion_r2596392357
##########
src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java:
##########
@@ -191,13 +191,16 @@ private TarFile(final Builder builder) throws IOException
{
while ((entry = getNextTarEntry()) != null) {
entries.add(entry);
}
- } catch (final IOException ex) {
+ } catch (final IOException | IllegalArgumentException e) {
Review Comment:
Hm good catch, here's a fix:
https://github.com/apache/commons-compress/pull/756 (now merged).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]