Skip to content

Commit 11f4ee5

Browse files
authored
Merge pull request quarkusio#34794 from kpapakyriakos/patch-1
2 parents 7ed4b98 + 5f6fe61 commit 11f4ee5

File tree

1 file changed

+2
-2
lines changed
  • independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner

1 file changed

+2
-2
lines changed

independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner/JarResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ public void close() {
184184
final JarFile zipFileLocal = this.zipFile;
185185
if (zipFileLocal != null) {
186186
try {
187+
this.zipFile = null;
187188
zipFileLocal.close();
188-
} catch (IOException e) {
189+
} catch (Throwable e) {
189190
//ignore
190191
}
191-
this.zipFile = null;
192192
}
193193
} finally {
194194
writeLock.unlock();

0 commit comments

Comments
 (0)