Proposal: Automatic Resource Management

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


Neal,

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.

      Josh


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

> On Tue, Sep 1, 2009 at 7:39 PM, Joshua Bloch <jjb at google.com> 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