Forum: JRuby double stack traces with enabled

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0c880d0c45425ebef845483af5d85e59?d=identicon&s=25 Peter R. (peter_ryan)
on 2014-05-14 21:05
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:in `bar'
  from run_blah.rb:6:in `bar'
  from run_blah.rb:2:in `foo'
  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 topic is locked and can not be replied to.