FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Change GC's methods from module_function to metaclass methods by trinistr · Pull Request #9142 · jruby/jruby · GitHub

/ jruby Public

Change GC's methods from module_function to metaclass methods - #9142

Merged
headius merged 1 commit into
jruby:masterfrom
trinistr:change-gc-annotations
Dec 30, 2025
Merged

Change GC's methods from module_function to metaclass methods#9142
headius merged 1 commit into
jruby:masterfrom
trinistr:change-gc-annotations

Conversation

trinistr commented Dec 17, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Follow-up to #9094 (comment)

Methods of GC are supposed to be just methods of metaclass (except for #garbage_collect), not module_functions.

There is a slight possibility of this being a breaking change if someone was includeing GC to use its methods, but I don't see why anyone would do this when it's mostly no-ops.

headius merged commit 7254789 into jruby:master Dec 30, 2025
77 checks passed

headius commented Dec 30, 2025

Copy link
Copy Markdown
Member

Thank you!

enebo added this to the JRuby 10.0.3.0 milestone Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL