Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MITRE CWE

CWE-460. Improper cleanup on thrown exception

 

CWE-584. Return inside finally block

 

CWE-248. Uncaught exception

 

CWE-705. Incorrect control flow scoping

Bibliography

[Bloch 2005]

Puzzle 41. Field and Stream

[Chess 2007]

8.3, Preventing Resource Leaks (Java)

[Harold 1999]

 

[J2SE 2011]

The try-with-resources Statement

...