Skip to content

Commit a59020a

Browse files
Fail if cant close JAR
1 parent 348c694 commit a59020a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/backend/jvm/GenBCode.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class GenBCode extends Phase {
6464
override def runOn(units: List[CompilationUnit])(implicit ctx: Context) = {
6565
try super.runOn(units)
6666
finally if (jarFs ne null) {
67-
try { jarFs.close() } catch { case _: Throwable => }
67+
jarFs.close()
6868
jarFs = null
6969
}
7070
}

0 commit comments

Comments
 (0)