[jcifs] Issue: hidden children omitted from folder content li st

Julian Reschke julian.reschke at gmx.de
Thu Feb 5 13:07:10 GMT 2004


Julian Reschke wrote:
> Wang, Tony wrote:
> 
>> I think this is the incompatibility of java.io.File itself. Hidden 
>> files are
>> hidden so ... there hidden. It makes sense to me. 
> 
> 
> Oh well, thanks for pointing that out. You are right, and I apologize 
> for the misleading report.

Oh well, again.

I just tested

- java.io.File.list() indeed returns hidden files (tested with 1.3.1 and 
1.4.2 on Windows)

and

- SmbFile.list(filter) does not return hidden files even if the accept() 
method always returns true.

So, as Migual pointed out, this seems to be a bug in SmbFile.

Julian


-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


More information about the jcifs mailing list