Proposal: Automatic Resource Management

Joshua Bloch jjb at
Tue Sep 1 21:01:34 PDT 2009


Many existing types will be retrofitted to extend Disposable.  If such a
type also implements Iterable, the semantics of a for-each loop on an
instance of the type would change, as I understand Sean's suggestion.


On Tue, Sep 1, 2009 at 8:13 PM, Neal Gafter <neal at> wrote:

> On Tue, Sep 1, 2009 at 7:39 PM, Joshua Bloch <jjb at> wrote:
>> Perhaps I am missing something, but wouldn't this change the semantics of
>> existing programs?
> No existing types extend Disposable.

More information about the coin-dev mailing list