Feedback and comments on ARM proposal
    Mark Mahieu 
    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.  
Serializable).
I definitely like the idea of leaving it to the individual libraries  
to decide.
Mark
On 20 Mar 2009, at 21:08, Tim Peierls wrote:
> How about using a special package -- java.lang.auto, say -- with  
> initially
> only one or two interfaces -- AutoCloseable and AutoDisposable, say  
> -- and
> word the ARM proposal so that only subtypes of interfaces with a  
> single,
> parameterless method that are declared in this special package are  
> allowed
> 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.
>
> --tim
>
    
    
More information about the coin-dev
mailing list