7edff469e1 (ruby_3_4): merge revision(s) 1e7cf7b2bc1f9b356b2e980e1e18548618da6363: [Backport #21446]

0 views
Skip to first unread message

Takashi Kokubun

unread,
Dec 16, 2025, 6:52:13 PM (7 hours ago) Dec 16
to ruby...@g.ruby-lang.org
Takashi Kokubun 2025-12-16 23:51:44 +0000 (Tue, 16 Dec 2025)

New Revision: 7edff469e1

https://github.com/ruby/ruby/commit/7edff469e1

Log:
merge revision(s) 1e7cf7b2bc1f9b356b2e980e1e18548618da6363: [Backport #21446]

[PATCH] Fix refinement modification of method visibility in superclass

Previously, this didn't work correctly, resulting in a
SystemStackError. This fixes the issue by finding the related
superclass method entry, and updating the orig_me in the
refinement method to point to the superclass method.

Fixes [Bug #21446]

Modified files:
test/ruby/test_refinement.rb
version.h
vm_method.c
Reply all
Reply to author
Forward
0 new messages