bsf.eval("jruby", "(java)", 1, 1, "at_exit { @result = \"#{x} and #{$x} in an at_exit block\" }");
Object ret = bsf.eval("jruby", "(java)", 1, 1, "@lvar = \"x = #{x}\";return @gvar, @lvar");
List<String> expResult = Arrays.asList("$x = GVar", "x = LVar");
assertEquals(expResult, ret);
logger1.info(ret.toString());
bsf.terminate();
}
}