harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Lee <littlee1...@gmail.com>
Subject File.getAbsolutePath() has bugs.
Date Mon, 18 Jan 2010 09:44:27 GMT
On windows platform, the test case is simple:

*System.out.println(new File("D:tmp").getAbsolutePath());*

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message