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: java.io.File compatibility problem.


Thanks, I have just tried on Linux and it does work.

Can someone on windows try it? Is there a single person in charge of libgcj on 
windows? Or a hint on how I can circumvent this problem?

---
From: Michael Koch <konqueror at gmx dot de>

> 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.


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