Re: isDirectory/isFile and links

2003-06-06 Thread Michael Koch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 5. Juni 2003 15:40 schrieb Dr. Torsten Rupp: > Hi, > > I yust got a little bit confused, because of the behaviour of > java.io.File.isDirectory()/java.io.File.isFile(). If the > requested filename is a link to a file/directory it seems >

isDirectory/isFile and links

2003-06-06 Thread Dr. Torsten Rupp
Hi, I yust got a little bit confused, because of the behaviour of java.io.File.isDirectory()/java.io.File.isFile(). If the requested filename is a link to a file/directory it seems always "false" is reported. With JDK "true" is reported. The reason for this seems to be the OS function "lstat" whic