Issue Type: Bug Bug
Assignee: Thomas E Enebo
Components: Core Classes/Modules
Created: 19/Nov/12 4:52 AM
Description:

In auditing to_path logic I noticed we will not call to_path on string. MRI unconditionally executes this...Very minor and a tiny bit wasteful:

class String
  def to_path
    'bar'
  end
end

p File.path("foo")

Will be fixed as part of my broader audit of to_path.

Project: JRuby
Priority: Major Major
Reporter: Thomas E Enebo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to