Feedback and comments on ARM proposal (original) (raw)
Tim Peierls tim at peierls.net
Fri Mar 20 14:08:18 PDT 2009
- Previous message: Feedback and comments on ARM proposal - resend
- Next message: Feedback and comments on ARM proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Feedback and comments on ARM proposal - resend
- Next message: Feedback and comments on ARM proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]