Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: other
Platform: Other
-
38122
Description
On Windows XP I tried to list all files in a folder of another user
but i had no access rights for this folder. So the method
FileObject.getChildren() (commons-vfs-1.0-RC6.jar) returned an empty
FileObject-array (like for an empty folder).
When I used the method java.io.File.list() i got "null" for this
folder (where i had no access rights) and an empty array for an
empty folder (where i had access rights).
So the behavior of java,io.File-list() is ok.
The behavior of FileObject.getChildren() is misleading. It seems
that there is an empty folder (where no empty folder is).