You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Proposal: Automatic Resource Management

Author

Josh Bloch

Date of Original Proposal

February 27, 2009

Text of Proposal

embedded in mail (see below)

Summary

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.

Relevant Mail Discussion Threads

Discussion

Extensive discussion followed on the mailing list; please follow the threads listed above.

  • No labels