-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b105
-
generic
-
generic
-
Verified
When the Automatic Resource Management (ARM) feature is introduced into the language, it would be helpful to have lint warnings to alert the programmer to various conditions, such as explictly calling close or a resource or not referencing a named resource in an ARM block. These should be controled under a -Xlint:arm javac flag.
- relates to
-
JDK-6911256 Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
- Closed
-
JDK-6970016 Clean up ARM/try-with-resources implementation
- Closed
-
JDK-7023233 False positive for -Xlint:try with nested try with resources blocks
- Closed
-
JDK-6986416 Warn of unprotected AutoCloseables in try-with-resources initializers
- Open