8000 Support -d with .jar paths by nicolasstucki · Pull Request #3382 · scala/scala3 · GitHub
[go: up one dir, main page]

Skip to content

Support -d with .jar paths #3382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 16, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't catch exceptions when closing jar
  • Loading branch information
allanrenucci committed Nov 15, 2017
commit 4a0606a68783b32b061e1fa96f6930cf7f1131b2
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/backend/jvm/GenBCode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class GenBCode extends Phase {
override def runOn(units: List[CompilationUnit])(implicit ctx: Context) = {
try super.runOn(units)
finally if (jarFS ne null) {
try { jarFS.close() } catch { case _: Throwable => }
jarFS.close()
jarFS = null
}
}
Expand Down
0