java.io.File compatibility problem.

Michael Koch konqueror@gmx.de
Fri Oct 17 20:34:00 GMT 2003


On Fri, Oct 17, 2003 at 04:01:17PM -0400, Rutger Ovidius wrote:

> With normal (Sun) java, a File("") object will return a canonicalPath of the 
> current directory.
> 
> With gcj java, this returns a "java.io.IOException: GetFullPathName failed"   
> Is this normal?  It is causing compatibility problems when compiling SWT/JFace 
> apps (and probably others..)
> 
> Tested on Windows with gcj 3.3.1, and gcj version 3.4 20031006 (experimental).

This works on linux (2.4.21). Seems to be a Windows specific problem.



Michael



More information about the Java mailing list