Leaving a note on this one. Our JIT ignores the search depth value altogether but in interp we walk down looking for a scope. In this case we were counting for loops as full scopes. Since for loops have no scope this makes no sense so I omit it from the counting.
I was trying to port some legacy code to jruby 126.96.36.199 when I came across this issue.
Attaching backtrace of exception.
The following repository should help you reproduce the problem.
Fails with a null pointer exception.
Tested on ubuntu linux with jruby 188.8.131.52
The text was updated successfully, but these errors were encountered: