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: File.getCanonicalPath on Windows?


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


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