• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Coin
  3. Main
  4. 2009 Proposals TOC
  5. Proposal 2009 Automatic Resource Management

Proposal 2009 Automatic Resource Management

  • Created by J. Duke, last modified by Tony Squier on Jan 29, 2013

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

  • Original proposal: http://mail.openjdk.java.net/pipermail/coin-dev/2009-February/000011.html
  • Follow-up discussion (probably incomplete)
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000042.html
    • alternative "simple resource cleanup" proposal: http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000071.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000124.html
    • updated version of the proposal: http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000128.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000263.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000309.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000341.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000348.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000496.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000684.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000684.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000689.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000683.html
    • http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000699.html

Discussion

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

Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 308, "requestCorrelationId": "59e8f7910a59dd8b"}