Patch: Fix PR/6652 on MinGW

Rutger Ovidius ovid@mailandnews.com
Tue Oct 21 03:45:00 GMT 2003


Hi,

A similar problem occurs (gcj 3.3.1 and 3.4) only on Windows with File.exists.
java.io.IOException: GetFullPathName failed.  Perhaps your patch can also be 
applied to this function.

This works on linux. 
---

import java.io.File;

public class Main {
    public static void main( String[] args ) {
          File f = new File("");
          System.out.println( f.exists() );
    }
}



More information about the Java mailing list