Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File.expand_path( 'asd', Pathname.new('uri:classloader:/') produces corrupted result #3150

Closed
mkristian opened this issue Jul 17, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@mkristian
Copy link
Member

$ bin/jruby -rpathname -e "p File.expand_path 'asd', Pathname.new('uri:classloader:/')" 
"/home/christian/projects/active/jruby/jruby/uri:classloader:/asd"

expected result: uri:classloader://asd like from File.expand_path('asd', 'uri:classloader:/')

@mkristian mkristian added the core label Jul 17, 2015
@mkristian mkristian self-assigned this Jul 17, 2015
@mkristian mkristian added this to the JRuby 1.7.22 milestone Jul 17, 2015
mkristian added a commit that referenced this issue Jul 24, 2015
whether second argument of File.expand_path('foo', Pathname.new('uri:classloader:/'))
is ruby string or pathname, the result should be the same.

fixes #3150

Sponsored by Lookout Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant