This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Fix PR/6652 on MinGW


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() );
    }
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]