-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove JRuby ext and use TracePoint #24
base: master
Are you sure you want to change the base?
Conversation
JRuby works fine with the TracePoint logic for many years now, so there's no reason to ship an extension.
This does not pass tests because the tests expect that
|
At least since https://javadoc.io/static/org.jruby/jruby-complete/1.7.5/org/jruby/ext/tracepoint/TracePoint.html? So yea, sounds like a safe bet |
|
@stdedos Perhaps, or maybe this gem should just ditch support for really old Ruby versions that behave differently? |
Probably. But "I like not artificially removing support" either. Also, I'll wait until maintainer actually responds. |
Yes, it seems a bit quiet. Feel free to ping me if I'm needed again! |
Hey both! Sorry for the slow response here. I've gone ahead and added you both as collaborators on Github. Feel free to merge improvements as you see fit; and if either of you wants to be added to the ruby gem account I can do that too, Conrad |
We (I at least) we'd like a little bit your BDFL decision @ConradIrwin wrt old ruby versions and interpreters. I'll @-mention you to the MR (or just stop by yourself). I've also never released gems (nor do I have an account) - I'd be nice to check / approve them as suitable. Idk if @headius has tests figured out - if not, I'd like your input wrt them too (or some other Senior Rubist who you know and s/he would like to pass on knowledge). |
Happy to drop old versions as people who need them can use an old version of the gem. (Though I'd probably keep support for the last few active versions). It seems like we may need to just hardcode the line numbers that are correct now (this code is very old, and it's maybe a bit too "clever" to try and get it right). |
I have not looked at the tests other than to confirm that they pass the same with the JRuby extension code removed (i.e. JRuby uses the same TracePoint code as CRuby 2.7+). |
Agree. 👍 |
JRuby works fine with the TracePoint logic for many years now, so there's no reason to ship an extension.