in src/main/org/apache/ant/compress/resources/CommonsCompressArchiveResource.java [187:201]
protected void fetchEntry() {
try (ArchiveInputStream i = getStream()) {
ArchiveEntry ae = null;
while ((ae = i.getNextEntry()) != null) {
if (ae.getName().equals(getName())) {
setEntry(ae);
return;
}
}
} catch (IOException e) {
log(e.getMessage(), Project.MSG_DEBUG);
throw new BuildException(e);
}
setEntry(null);
}