Skip to content

fix: remove numeric deprecation #1193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

fix: remove numeric deprecation #1193

wants to merge 3 commits into from

Conversation

seuros
Copy link
Contributor

@seuros seuros commented Jun 11, 2025

depend on #1192

Copy link
Member

@enebo enebo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seuros you may want to let me have a shot at these deprecations. All of these changes are wrong but what you did was reasonable lacking context.

org.jruby.api package and @JRubyAPI annotations replaced the deprecated methods and methods changes to require ThreadContext was not documented as the replacement as this was changed in potentially thousands of methods. For example, getClass(String) was made into getClass(ThreadContext, String).

The obvious problem with the new API from this existing project is it pushes Ruby everywhere and not ThreadContext. As such, this will be an extremely large PR and I might be better suited to do this. Also, it may also inform additional API changes to JRuby itself. I can perhaps just change one usage and then you can see the scope of changes.

Or you can work on fixing AR failing tests for now.

@seuros
Copy link
Contributor Author

seuros commented Jun 12, 2025

Given your expertise with JRuby internals, it makes sense for you to handle these deprecations. I was afraid that that double work is required before and after the deprecation fix, if the interface is the same.

Then i'm 🟢 to fix the Ruby part. Closing al PRs.

@seuros seuros closed this Jun 12, 2025
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.

2 participants