Commit 8108b556 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix resource cleanup in test

Closes gh-18569
parent f7959bcd
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment