This cannot be merged until JRuby has released a version that supports it, and should not be released until we have decided how to transition away from older JRuby versions that do not have this name.
I decided to support both old and new using a MethodHandle. Performance should not be impacted since it's static final, but it will work on all old versions of JRuby until we decide to remove this logic.
This cannot be merged until JRuby has released a version that supports it, and should not be released until we have decided how to transition away from older JRuby versions that do not have this name.
See https://github.com/ruby/stringio/issues/83