#273 Pasting long script in GUI cli causes lock

GUI (21)

Pasting about 342ish bytes of text (with ctrl-v) and
then hitting enter causes BeanShell workspace
window/app to freeze. Clicking the win32 closewindow
icon (X) in upper right corner does not cause app to
exit, however, app is still responsive to dragging by
the title bar, but repainting does not occur if part of
the window contents are overwritten.

This is with bsh-2.0b4.jar, under Windows XP, java jre

This only happens in the GUI cli, not the text cli.

Here is example text that causes it to freeze on my
machine (this is example text from a previous bug
report I filed):


class foobase { int getSize() { return 2; } } class
fooderived extends foobase { int getSize() { return 4;
} } fooderived aa = new fooderived();
print(aa.getSize() ); class barbase { public int
getSize() { return 2; } } class barderived extends
barbase { public int getSize() { return 4; } }
barderived bb = new barderived(); xxxxxxx


I put it all on one line to eliminate any issues with
multi-line parsing problems.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks