diff --git a/independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner/JarResource.java b/independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner/JarResource.java index 4bc3147fd37cf..0a8ff83203eb3 100644 --- a/independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner/JarResource.java +++ b/independent-projects/bootstrap/runner/src/main/java/io/quarkus/bootstrap/runner/JarResource.java @@ -184,11 +184,11 @@ public void close() { final JarFile zipFileLocal = this.zipFile; if (zipFileLocal != null) { try { + this.zipFile = null; zipFileLocal.close(); - } catch (IOException e) { + } catch (Throwable e) { //ignore } - this.zipFile = null; } } finally { writeLock.unlock();