Skip to content

JRuby10 API Changes

Thomas E Enebo edited this page Dec 11, 2024 · 2 revisions

This page will catalogue changes which possibly could break older extensions.

Very unlikely but non-backwards compatible changes

RubyNil(Ruby) has been changed to RubyNil(Ruby, RubyClass). No one should be making a nil but us.

IRubyObject RubyNumeric#isNegative(ThreadContext) has been changed to IRubyObject RubyNumeric#negative_p(ThreadContext). This will causea potential conflict with new method booolean RubyNumeric#isNegative(ThreadContext). This method replaces boolean RubyNumeric#isNegative().

IRubyObject RubyNumeric#isPositive(ThreadContext) has been changed to IRubyObject RubyNumeric#positive_p(ThreadContext). This will causea potential conflict with new method booolean RubyNumeric#isPositive(ThreadContext). This method replaces boolean RubyNumeric#isPositive().

Clone this wiki locally