-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Environment
jruby 9.2.8.0 (2.5.3) 2019-08-12 a1ac7ff Java HotSpot(TM) 64-Bit Server VM 25.221-b11 on 1.8.0_221-b11 +jit [darwin-x86_64]Darwin MacBook-Pro.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
Script Under Test
$ cat test.rb
TracePoint.trace(:b_call) { puts 'called' }
do_thing = proc { puts 'thing done' }
do_thing[]
Behavior Under MRI
$ ruby --version
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
$ ruby test.rb
called
thing done
Behavior under JRuby 9.2.8.0
$ ruby --version
jruby 9.2.8.0 (2.5.3) 2019-08-12 a1ac7ff Java HotSpot(TM) 64-Bit Server VM 25.221-b11 on 1.8.0_221-b11 +jit [darwin-x86_64]
$ JRUBY_OPTS="--debug" ruby test.rb
thing done
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels