close() not working on the nio patch for JDK7

Alan Bateman Alan.Bateman at Sun.COM
Fri Nov 21 10:38:46 PST 2008


Avinash Lakshman wrote:
> close() on RandomAccessFile doesn't seem to work. We see a lot of open 
> file handles we though we are invoking close() on the RandomAccessFile 
> in a finally block. Is this a bug in this patch?
>
> Thanks
> Avinash
What patch is this? Are you building your own binaries from a clone of 
the nio/nio mercurial repository? In any case, I'm not aware of any 
problems with RandomAccessFile#close. If you have a test case that you 
can share that would be great.

-Alan.



More information about the nio-discuss mailing list