Double stack traces with enabled

I was looking at an example for the

The example command is:

jruby -X-C run_blah.rb

This works great. However if I do not disable compilation (using the
-X-C option) then the stack trace is duplicated. Check out this forked

In it the stack trace reported is repeating lines:

from java/lang/reflect/ invoke' from run_blah.rb:6:inbar’
from run_blah.rb:6:in bar' from run_blah.rb:2:infoo’
from run_blah.rb:2:in foo' from run_blah.rb:9:in(root)’
from run_blah.rb:9:in `(root)’

Does anyone know why the stack trace is double printing?

Thanks in advance,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs