This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: File.getCanonicalPath on Windows?
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: Java Discuss List <java at gcc dot gnu dot org>
- Date: 12 Jun 2002 12:54:00 -0600
- Subject: Re: File.getCanonicalPath on Windows?
- References: <87ofegk13m.fsf@creche.redhat.com> <863cvsz9fs.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
>> Where is File.getCanonicalPath for Windows?
>> I don't see it in natFileWin32.cc.
Adam> megacz@curry$grep getCanonical branch/gcc/libjava/java/io/natFileWin32.cc
Adam> branch/gcc/libjava/java/io/natFileWin32.cc:java::io::File::getCanonicalPath (void)
Weird -- I completely missed it.
I just changed the Posix implementation to special-case "" to mean ".".
Do we need a similar patch for Windows? I can write it, but I can't
test it. Could you tell me what the JDK does on the test case in PR 6652?
Tom