ClassManagerImpl classManager = new ClassManagerImpl();
NameSpace global = new NameSpace(classManager, "FlowLevel embedded BeanShell interpreter");
Interpreter bshIntepreter = new Interpreter(null,System.out,System.err,false,global);
String str = "String _result = \"aaaa\nbbbb\";";
bshIntepreter.eval(a);
Cant evaluate string when there is an \n or \r character
my application get input from the user
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/435