jruby/jruby — pull request #857 by eregon (2013-07-05 09:23:52+00:00)
Title: Hybrid (native/ruby) pathname library

This approach is quite similar to how MRI does it.
A good part of the library is still written in Ruby and it would take a considerable effort to translate everything (plus, it might not be very worthy). I think this should be merged in a first step.

The binding `@path` <=> `path` Java field is done by setting `@path` in #initialize, is there a better way?

There are a couple TODOs left, to which some light on it could help me.

Updated version of `lib/ruby/1.9/pathname.rb` is HEAD of the `ruby_1_9_3` branch (only the require line changes from `pathname.so` to `pathname_ext` (is there a better naming, possible to differentiate `pathname.{rb,jar}`?
Should we add back the doc there? (in MRI, it was moved to `pathname.c`)

About the license, is it copied and adapted rightly?

@headius what do you think?