-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b132
-
generic
-
generic
-
Verified
After due consideration, the JSR 334 expert group has decided to alter the null-handling semantics of the try-with-resources statement: the automatically generated calls to close will be protected by a null-check.
That is, try-with-resources will not call close on a resource if the resource is null.
That is, try-with-resources will not call close on a resource if the resource is null.
- relates to
-
JDK-8194978 Javac produces dead code for try-with-resource
- Resolved
-
JDK-6971877 Project Coin: improve semantics of suppressed exceptions in try-with-resources
- Closed
-
JDK-7014734 Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
- Closed
-
JDK-7031273 Project Coin: Sync with JSR 334 PR
- Closed
-
JDK-7020499 Project Coin: improvements to try-with-resources desugaring
- Closed