Fw: Patch for File Scanning

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 24 02:21:04 PDT 2011

On 24/10/2011 09:47, Ulf Zibis wrote:
> Another thought:
> Is the cost for instantiation of an AcceptAllFilter object so high, 
> that it justifies the loading of an additional static helper class.
> Because the cost for the latter is > 0, I would prefer a simple lazy 
> instantiation by "If (x == null)".
> Please keep footprint of JDK binary low as possible.
> -Ulf
The original code is using an anonymous inner class so I don't think 
there is any change to the number of classes that are loaded and 


More information about the nio-dev mailing list