Normalized file path under win32

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Apr 17 16:03:00 GMT 2002


Adam King wrote:

>I'd prefer implementing it in the Java code as well.  Here's
>the patch redone with a comment.  Our app does a lot of file access
>and without the patch, it dies very early on.  I guess I shouldn't
>have relied upon Sun's undocumented conversion of unix paths into
>Win32 paths - but unix pathnames are so much easier to deal with :)
>
>	Adam
>
>
>
>2002-04-17  Adam King <aking@dreammechanics.com>
>
>    * java/io/File.java (normalizePath): Add Win32 support for auto 
>    conversion of a '/' path separator to Win32's '\' separator
>


OK, thanks. I shortened the commend a little ;-)  and checked it in.

regards

Bryce.





More information about the Java-patches mailing list