Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
v0.4.0
Description
`return` inside `finally` block will result in losing exception:
- If the finally block completes abruptly for reason S, then the try statement completes abruptly for reason S (and the throw of value V is discarded and forgotten).
- If the finally block completes abruptly for reason S, then the try statement completes abruptly for reason S (and reason R is discarded).
reference:
http://docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-14.20.2
Attachments
Attachments
Issue Links
- links to