Bug in interrupt handling in FileChannelImpl.map(…)
Alan Bateman
Alan.Bateman at oracle.com
Sat Sep 14 13:29:18 UTC 2013
On 13/09/2013 16:04, Chris Dennis wrote:
> Hi All,
>
> I have discovered what I'm pretty certain is a bug in FileChannelImpl's
> interrupt handling. The root cause is that the map(…) method is calling
> size() from within it's begin()/end(…) block.
Thanks for this, it is indeed a bug and should be using nd.size() rather
than size().
I've created this bug to track it:
8024833: (fc) FileChannel.map does not handle async close/interrupt
correctly
-Alan.
More information about the nio-dev
mailing list