Fix resource cleanup in test

Closes gh-18569
pull/18571/head
Stephane Nicoll 5 years ago
parent f7959bcd00
commit 8108b556ad

@ -178,6 +178,8 @@ class JarFileArchiveTests {
assertThat(it.hasNext()).as(i + "nth file is present").isTrue();
it.next();
}
((JarFileArchive) nestedArchive).close();
jarFileArchive.close();
}
private byte[] writeZip64Jar() throws IOException {

Loading…
Cancel
Save