Skip to content

Skip prepend wrappers in each_object(Module)#6900

Merged
headius merged 1 commit intojruby:masterfrom
headius:objectspace_walking_prepend_wrappers
Oct 25, 2021
Merged

Skip prepend wrappers in each_object(Module)#6900
headius merged 1 commit intojruby:masterfrom
headius:objectspace_walking_prepend_wrappers

Conversation

@headius
Copy link
Member

@headius headius commented Oct 21, 2021

We were skipping include wrappers, but not prepend wrappers. That resulted in us trying to use a PrependedModule wrapper as a real module, which of course it is not.

This logic was never updated after prepend was added, so the bug has been present for some time.

Fixes #6896

@headius headius added this to the JRuby 9.3.2.0 milestone Oct 21, 2021
@headius headius merged commit da80811 into jruby:master Oct 25, 2021
@headius headius deleted the objectspace_walking_prepend_wrappers branch October 25, 2021 13:55
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.

JRuby 9.3 singleton_class bug

1 participant