You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…eturn enclosing method name.
This one is pretty weird. I just switched to method.name from <eval> and the
test ran fine. I noticed that top-level evals were not printing out <main>, so
I tweaked a few things. JIT will apparently set frame method name to '' vs
null so I am not sure what is up there.
# Conflicts:
# core/src/main/java/org/jruby/ir/interpreter/Interpreter.java
Hello again!
I'm using
Thread#backtrace_locations
and noticed several differences between MRI and JRuby.I'll report them separately because they may have different fixes, but feel free to mark any as duplicate if it makes sense to do so.
Environment
jruby 9.1.17.0 (2.3.3) 2018-04-20 d8b1ff9 Java HotSpot(TM) 64-Bit Server VM 25.171-b11 on 1.8.0_171-b11 +jit [linux-x86_64]
Linux u186024434db159d25c92 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.4 LTS
Expected Behavior
On MRI, when getting the
Location
for aneval()
'd stack, the#label
is set as the enclosing method.Testcase:
Output on MRI:
Actual Behavior
JRuby just returns
<eval>
for both#label
(and#base_label
):If it would be helpful I can also submit a testcase to RubySpec.
The text was updated successfully, but these errors were encountered: