Feedback and comments on ARM proposal
markmahieu at googlemail.com
Fri Mar 20 14:18:05 PDT 2009
Or perhaps a marker interface rather than a special package? That
might be more consistent with existing 'special behaviour' (eg.
I definitely like the idea of leaving it to the individual libraries
On 20 Mar 2009, at 21:08, Tim Peierls wrote:
> How about using a special package -- java.lang.auto, say -- with
> only one or two interfaces -- AutoCloseable and AutoDisposable, say
> -- and
> word the ARM proposal so that only subtypes of interfaces with a
> parameterless method that are declared in this special package are
> in the ARM try-initialization?
> The idea here is to remove the decision about which clean-up
> methods to
> support from the current proposal and make it a library design issue.
More information about the coin-dev