cbuschka / beanshell2

Automatically exported from code.google.com/p/beanshell2
0 stars 0 forks source link

ticket to reopen #80 #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Duplicate, see issue #80

Original comment by pejob...@gmail.com on 6 Nov 2012 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by pejob...@gmail.com on 6 Nov 2012 at 7:41