Skip to content

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

@mkristian

Description

@mkristian
$ 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:/')

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions