There are failures within the rspec test suite that might expose some intentional or unintentional differences between JRuby 10.1 and CRuby 4.0.
https://github.com/chadlwilson/rspec/actions/runs/24822251102
Environment Information
jruby 10.1.0.0 (4.0.0) 2026-04-20 32f988b78c OpenJDK 64-Bit Server VM 21.0.10+7-LTS on 21.0.10+7-LTS +indy +jit [x86_64-linux]
Expected Behavior
- Tests should be passing; or any known differences understood so we can mark the tests as
Pending or similar, and linked to upstream issues here.
Actual Behavior
circular causes
Edit: unrelated StackOverflow failure
StackOverflow - see rspec/rspec#321
There are failures within the rspec test suite that might expose some intentional or unintentional differences between JRuby 10.1 and CRuby 4.0.
https://github.com/chadlwilson/rspec/actions/runs/24822251102
Environment Information
jruby 10.1.0.0 (4.0.0) 2026-04-20 32f988b78c OpenJDK 64-Bit Server VM 21.0.10+7-LTS on 21.0.10+7-LTS +indy +jit [x86_64-linux]Expected Behavior
Pendingor similar, and linked to upstream issues here.Actual Behavior
circular causes
rspec-support RSpec::Support.method_handle_for(object, method_name) fails with
NameErrorwhen an undefined method is fetched from an object that has overriddenmethodto raise an Exceptionstack
rspec-mocks #any_instance when a class overrides Object#method mocks the method correctly
Failure/Error: expect(http_request_class.new.existing_method).to eq "foo"
stack
rspec-mocks #any_instance when a class overrides Object#method stubs the method correctly
Failure/Error: expect(http_request_class.new.existing_method).to eq "foo"
stack
Edit: unrelated StackOverflow failure
StackOverflow - see rspec/rspec#321
respond_to?is stubbed