Skip to content

Commit 4a0606a

Browse files
committed
Don't catch exceptions when closing jar
1 parent 4e39251 commit 4a0606a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class GenBCode extends Phase {
7272
override def runOn(units: List[CompilationUnit])(implicit ctx: Context) = {
7373
try super.runOn(units)
7474
finally if (jarFS ne null) {
75-
try { jarFS.close() } catch { case _: Throwable => }
75+
jarFS.close()
7676
jarFS = null
7777
}
7878
}

0 commit comments

Comments
 (0)