Feedback and comments on ARM proposal

Mark Mahieu markmahieu at
Fri Mar 20 16:35:27 PDT 2009

2009/3/20 Reinier Zwitserloot <reinier at>
> Using a special package which contains only interfaces that serve as
> AutoDisposable: Okay. Can you add your own to this? Technically you
> can just put "" in your own jar files, do those get
> picked up, or will become a sealed package of some
> sort, or will it be limited to only interfaces in the
> package in the java-core module? If any programmer can add their own,
> I think a marker interface is a better idea.

Regardless of the specific mechanism, being able to add new interfaces might
mean that java.sql could declare an AutoFreeable type suitable for free()ing
a java.sql.Blob, Clob, Array or SQLXML.  Ditto for those APIs that chose
destroy(), cleanup(), shutdown() etc.


More information about the coin-dev mailing list