Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: 7
-
Fix Version/s: 7
-
Component/s: specification
-
Labels:
-
Subcomponent:
-
Resolved In Build:b130
-
CPU:generic
-
OS:generic
-
Verification:Verified
Description
try(Expression) {...}
rather than
try(ResourceType resourceVariable = Expression)
Support for this should be removed from the specification and compiler.
Attachments
Issue Links
- relates to
-
JDK-6971877 Project Coin: improve semantics of suppressed exceptions in try-with-resources
-
- Closed
-
-
JDK-7011920 Project Coin: Sync with JSR 334 EDR
-
- Closed
-
-
JDK-7014734 Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
-
- Closed
-
-
JDK-7015410 test/java/net/Socks/SocksProxyVersion.java needs to be updated due to 7013420
-
- Closed
-
-
JDK-7031273 Project Coin: Sync with JSR 334 PR
-
- Closed
-
-
JDK-7011742 Allow Expressions in resource specification of try-with-resources
-
- Closed
-
-
JDK-7020499 Project Coin: improvements to try-with-resources desugaring
-
- Closed
-
-
JDK-7196163 Project Coin: Allow final or effectively final variables to be used as resources in try-with-resources
-
- Closed
-
-
JDK-6911256 Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
-
- Closed
-