Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

headius
Copy link
Member

@headius headius commented Jul 9, 2025

This is an experiment to modularize the binding of core class methods on classes which have many different sets of behaviors. Initially, the work is based on modularizing Kernel to allow optionally binding methods that access things like IO.

This relates to recent discussions about making JRuby smaller and more secure for embedded use cases that may want to be able to disable things like IO and Thread. We need to be able to disable related features in other classes and modules like Kernel for that to be fully realized.

See related work in #8893.

headius added 2 commits July 9, 2025 13:19
Interface static method invocations must be emitted with the new
InterfaceMethodref descriptor, which we were not doing for the
generated invokers. This fixes that.
This moves IO-related Kernel methods to a separate interface which
can be enabled or disabled independently of the rest of Kernel.
This relates to recent discussions about making JRuby safely
embeddable with only specific classes and features loaded.

See other work in jruby#8893
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.