ARM and thread interruption

Joe Darcy joe.darcy at oracle.com
Mon Mar 14 11:07:43 PDT 2011


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