-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
setup:
$ echo asd > a.yml
then
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load_file("uri:classloader:/a.yml")'
false
but
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load(File.read("uri:classloader:/a.yml"))'
"asd"
or
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load_file("classpath:/a.yml")'
"asd"
or
$ java -cp .:jruby-complete-9.0.1.0.jar org.jruby.Main -ryaml -e 'p YAML.load_file("uri:classloader:/a.yml")'
"asd"
so it is only the uri:classloader:/a.yml which fails on jruby-1.7.x.
jruby-9k works.
Reactions are currently unavailable