harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Beyer <nbe...@gmail.com>
Subject Re: File.getAbsolutePath() has bugs.
Date Tue, 19 Jan 2010 01:29:43 GMT
On Mon, Jan 18, 2010 at 3:44 AM, Charles Lee <littlee1032@gmail.com> wrote:
> On windows platform, the test case is simple:
>
> *System.out.println(new File("D:tmp").getAbsolutePath());*

Is it supposed to be "D:\tmp" or "D:tmp"?

>
> I'm doing some investigation but have some questions:
> 1. windows has GetFullPathName method, but it is not thread-safe as msdn
> said. Does anyone know some thread-safe ways to get full path?
> 2. how does drlvm set usr.dir property? Is it from GetCurrentDirectory() ?
>
> Anyone could help on this? Thank you :)
>
> --
> Yours sincerely,
> Charles Lee
>

Mime
View raw message