Fix resource cleanup in test

Closes gh-18569
This commit is contained in:
Stephane Nicoll 2019-10-13 13:41:50 +02:00
parent f7959bcd00
commit 8108b556ad
1 changed files with 2 additions and 0 deletions

View File

@ -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 {