File#join under Windows uses wrong slash character
--------------------------------------------------
Key: JRUBY-2763
URL: http://jira.codehaus.org/browse/JRUBY-2763
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.2
Reporter: Trejkaz
Under Windows I get this:
irb(main):002:0> File.join("C:", "test.txt")
=> "C:/test.txt"
Although I'm not 100% certain what the Windows version of MRI does here, and
the documentation doesn't mention Windows behaviour at all, the existence of
the method would appear to suggest that it should use the platform file
separator.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email