Closed walkeriniraq closed 9 years ago
Hi walkeriniraq,
thanks for pointing me to this bug and jirb_swing in general, looks promising. I can reproduce that something is not working correctly by requiring only fancy_irb and calling FancyIrb.start. How can I access the stacktrace?
jruby -w -S jirb_swing
Closing. I quickly tried to reproduce it with the current version of JRuby and Irbtools and couldn't. Please re-open if this is still a problem for you.
In trying to find a workaround for https://jira.codehaus.org/browse/JRUBY-6996 (irb tab completion doesn't work in windows), I had installed irbtools and liked it.
The developer working on the bug suggested jirb_swing, which I tried, and immediately gave a stack overflow. The SO goes away if I remove irbtools from the .irbrc. It pitches a SO if I require irbtools from the irb interface. All of this works perfectly fine from the command line.
Running jRuby 1.7.1 on Java 7u9. Will try other versions to see if I have the same problem.
The stack trace seems to indicate that the problem is in fancy_irb:
However I can require fancy_irb by itself and it works fine. Also, if I configure irbtools to remove the fancy_irb library then irbtools loads fine. Seems to be some interaction between jirb_swing, irbtools, and fancy_irb.
Since irbtools + jirb_swing is incredibly ugly, I doubt that this would be high priority (nobody would run the combo), but since it was a SO I felt the need to share.