I've added more details to
http://code.google.com/p/beanshell2/issues/detail?id=80, which can help you to
identify the underlying issue. Maybe the problem is platform/jvm dependent and
that's why reviewer of issue #80 was unable to reproduce it.
I've also loaded beanshell console into eclipse and looked at source code.
There are actually two bugs in Beanshell Console code, fixing either one of
them (preferably both) should resolve the issue.
Bug #1: method bsh.util.JConsole.acceptLine - Text inputted by user is written
to PipedOutputStream in Swing UI thread - that should happen in another thread.
Bug #2: methods bsh.util.JConsole.print - response from Interpreter should be
printed to console using SwingUtilities.invokeLater method instead of
SwingUtilities.invokeAndWait
Original issue reported on code.google.com by michal.b...@gmail.com on 6 Nov 2012 at 7:20
Original issue reported on code.google.com by
michal.b...@gmail.com
on 6 Nov 2012 at 7:20