ARM and thread interruption
Tim Peierls
tim at peierls.net
Mon Mar 14 11:55:33 PDT 2011
I think the question was whether the spec would warn against
AutoCloseable.close with other kinds of exceptions besides IE, and the
answer (as of this writing) is "only in general terms".
--tim
On Mon, Mar 14, 2011 at 2:07 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
> Peter Levart wrote:
> >
> > On Monday, March 14, 2011 03:02:11 am Joe Darcy wrote:
> >
> > > Hello Mike.
> >
> > >
> >
> > > After due consideration and after consulting with the concurrency
> mavens
> >
> > > on the JSR 166 expert group, the JSR 334 expert group has decided it is
> >
> > > sufficient for the specification of the AutoCloseable type to strongly
> >
> > > warn against having AutoCloseable.close throw InterruptedException at
> >
> > > runtime. Additionally, javac and other compilers may warn against
> >
> > > declaring an AutoCloseable.close method which throws
> > InterruptedException.
> >
> > >
> >
> > > Thank you for raising this issue; regards,
> >
> > >
> >
> > > -Joe
> >
> > What about InterruptedIOException?
> >
> > see below...
> >
>
> The try-with-resource construct does not give special handling to any
> exception type.
>
> -Joe
>
>
More information about the coin-dev
mailing list