[1.9] Kernel#require should call #to_path on non-string arguments
-----------------------------------------------------------------
Key: JRUBY-4284
URL: http://jira.codehaus.org/browse/JRUBY-4284
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9
Affects Versions: JRuby 1.4
Environment: latest jruby-dev
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.5
MRI 1.9 uses #to_path to coerce non-string arguments to strings, while MRI 1.8
uses to_str.
Rubyspecs have been added already, and JRuby fails them.
--
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