Package: classpath
Version: 2:0.97.2-1.1
Severity: important

We're using classpath with Jamvm(.sf.net) 1.5.0. When calling File.canWrite() 
on a File with a path longer than 38 characters, we get an infinite loop. 
strace shows that it's trying to stat() inexistant files in a loop.

I.e. try executing the following:

public static void main(String[] args) {
        File file = new File("/tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
        file.mkdirs();
        file.canWrite();
}

Cheers,
Carsten

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to