Author |
Josh Bloch |
Date of Original Proposal |
February 27, 2009 |
Text of Proposal |
embedded in mail (see below) |
The automatic resource management statement is a form of the try statement that declares one or more resources. The scope of these resource declarations is limited to the statement. When the statement completes, whether normally or abruptly, all of its resources are closed automatically.
Extensive discussion followed on the mailing list; please follow the threads listed above.