Re: RFR: JDK-4858457 -- File.getCanonicalPath() throws IOException when invoked with "nul" (win)

2013-08-15 Thread Alan Bateman
On 14/08/2013 20:54, Dan Xu wrote: Hi Alan, Thanks for pointing out. I have updated my fix in the new webrev, http://cr.openjdk.java.net/~dxu/4858457/webrev.01/. Please take a look! Thanks, much better to have this in the one test. Looks good. -Alan.

Re: RFR: JDK-4858457 -- File.getCanonicalPath() throws IOException when invoked with "nul" (win)

2013-08-14 Thread Dan Xu
Hi Alan, Thanks for pointing out. I have updated my fix in the new webrev, http://cr.openjdk.java.net/~dxu/4858457/webrev.01/. Please take a look! -Dan On 08/14/2013 08:22 AM, Alan Bateman wrote: On 08/08/2013 21:44, Dan Xu wrote: Hi All, Windows platforms have reserved a few names for dev

Re: RFR: JDK-4858457 -- File.getCanonicalPath() throws IOException when invoked with "nul" (win)

2013-08-14 Thread Alan Bateman
On 08/08/2013 21:44, Dan Xu wrote: Hi All, Windows platforms have reserved a few names for device usages, and "nul" is one of them. And Windows API, such as _wfullpath() and GetFullPathNameW, returns its full path with the prefix "\\.\", which represents win32 device namespaces. For example

RFR: JDK-4858457 -- File.getCanonicalPath() throws IOException when invoked with "nul" (win)

2013-08-08 Thread Dan Xu
Hi All, Windows platforms have reserved a few names for device usages, and "nul" is one of them. And Windows API, such as _wfullpath() and GetFullPathNameW, returns its full path with the prefix "\\.\", which represents win32 device namespaces. For example, "nul", whose full path name is "\\