But if you keep the underlying RandomAccessFile open?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: Michael McCandless [mailto:[email protected]]
> Sent: Thursday, January 28, 2010 11:47 AM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: Nasty NIO behavior makes NIOFSDirectory silently close
> channel
> 
> On Thu, Jan 28, 2010 at 5:20 AM, Uwe Schindler <[email protected]> wrote:
> 
> > Can we fix NIOFSIndexInput to simply reopen the channel when the
> exception occurs?
> 
> The problem is that the file may have been deleted in the meantime.
> 
> This is quite a nasty behavior of FileChannel.
> 
> Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to