Skip to content

Disable AliasMethod direct binding for now#9349

Merged
headius merged 1 commit intojruby:jruby-10.0from
headius:no_indy_alias_magic
Mar 31, 2026
Merged

Disable AliasMethod direct binding for now#9349
headius merged 1 commit intojruby:jruby-10.0from
headius:no_indy_alias_magic

Conversation

@headius
Copy link
Copy Markdown
Member

@headius headius commented Mar 31, 2026

The logic here does not reflect recent changes to how alias methods are dispatched, and does not properly handle several things:

  • The compoundName is not passed through
  • The actual implementation class may not get passed in
  • Cases that require an implementer search are not handled

The combination of these leads to issues when aliased methods are bound by indy JIT logic, so we will disable this for now and fix it properly in JRuby 10.1.

Fixes #8944

The logic here does not reflect recent changes to how alias methods
are dispatched, and does not properly handle several things:

* The compoundName is not passed through
* The actual implementation class may not get passed in
* Cases that require an implementer search are not handled

The combination of these leads to issues when aliased methods are
bound by indy JIT logic, so we will disable this for now and fix it
properly in JRuby 10.1.

Fixes jruby#8944
@headius headius added this to the JRuby 10.0.5.0 milestone Mar 31, 2026
@headius headius changed the base branch from master to jruby-10.0 March 31, 2026 05:14
@headius headius merged commit 8ec5d57 into jruby:jruby-10.0 Mar 31, 2026
107 checks passed
@headius headius deleted the no_indy_alias_magic branch March 31, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Double unresolved super from aliased method when compiled with indy

1 participant