Please: try-with-resouces Lock support!

Serge Boulay serge.boulay at gmail.com
Fri Mar 11 05:07:00 PST 2011


well, the original proposal did not use the "try" construct. Instead it used
the "do" statement.

do (someResource)
{

}



On Fri, Mar 11, 2011 at 5:48 AM, Rémi Forax <forax at univ-mlv.fr> wrote:

> On 03/11/2011 10:28 AM, Florian Weimer wrote:
> > * Neal Gafter:
> >
> >> At worst, this exchange demonstrates that the try-with-resources
> >> specification is piling too much complexity on the already overly
> complex
> >> try statement.
> > Agreed.  Would it make sense to remove catch and finally clauses from
> > the try-with-resource construct?
> >
>
> Good question.
>
> Rémi
>
>
>



More information about the coin-dev mailing list