Bug #14010
closedRubyVM logic in forwardable backported to 2.3, not removed
Description
Logic was added to forwardable.rb in at least one commit, and revised in others:
https://github.com/ruby/ruby/commit/6fd18ca51bbce302865d23632b15af53d3e8f11b
On trunk, this logic was eventually replaced with code that works on Ruby impls other than MRI:
https://github.com/ruby/ruby/commit/2283d14cc9fefa278dfde02bdf8d84ce50cfe16f
I request that RubyVM not ever be used in stdlib unless guarded with a RUBY_ENGINE check plus fallback code. It is not possible for any implementation other than MRI to support RubyVM::InstructionSequence and whenever it is used in tests or stdlib we have to patch around it.
Please backport the remaining changes to forwardable to the ruby-2_3 branch for release, so we can return to using the stock forwardable.rb in JRuby.
Thank you!
Updated by shevegen (Robert A. Heiler) over 7 years ago
Makes sense.
Updated by hsbt (Hiroshi SHIBATA) over 7 years ago
- Related to Bug #14028: RubyVM logic backported into Ruby 2.3 tests added
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
- Status changed from Open to Closed