Fw: Patch for File Scanning

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 10 21:38:04 PDT 2011


Mike Skells wrote:
> :
>
> This is not really the introduction of a new class, as there is an 
> anonymous class anyway with is being named, so the holder is 
> effectively for free in this case
That's a fair point. I'll try to go through the patch soon (but might be 
next week as I'm busy with other things this week). On the weak 
reference, the reason for it to avoid keeping a reference to the 
attributes when storing the Paths in a collection (if you walk a large 
file tree and put all paths in a collection for example).

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20111011/ce4c46ee/attachment.html 


More information about the nio-dev mailing list