Here is my "guess" as to what is happening (I had a quick look at the bug ticket but couldn't see an explanation).
And I haven't written this sort of code in C for a while, so this is an extra big guess. When you get a dir list in Java it creates a list of File objects which are just paths to the file. Calling isDirectory() forces is to go back the the network because it doesn't have any kind of real handle on the OS object which represents the file. In C, when you get a directory list, do you get a list of "handles to OS objects" which can be polled immediately for an attribute?
-- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
