Details
-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b105
-
generic
-
generic
-
Verified
Description
After additional analysis, the initialy proposed translation semantics for try-with-resources into other statements is suboptimal: rather than only supressing a java.langException (or subclass) any Throwable should be suppressed. See option 1 discussed in
http://blogs.sun.com/darcy/entry/project_coin_updated_arm_spec
http://blogs.sun.com/darcy/entry/project_coin_updated_arm_spec
Attachments
Issue Links
- relates to
-
JDK-6911256 Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
-
- Closed
-
-
JDK-7020047 Project Coin: generate null-check around try-with-resources close call
-
- Closed
-
-
JDK-7013420 Project Coin: remove general expression support from try-with-resources statement
-
- Closed
-
-
JDK-4988583 AutomaticException chaining for exception in try and exception thrown in finally
-
- Closed
-