throw runtime.newSystemStackError("stack level too deep", soe);
} catch (Throwable e) {
throw new EvalFailedException(e);
} finally {
if (sharing_variables) {
threadContext.popScope();
}
vars.terminate();
/* Below lines doesn't work. Neither does classCache.flush(). How to clear cache?
ClassCache classCache = JavaEmbedUtils.createClassCache(getRuntime().getClassLoader());
getRuntime().getInstanceConfig().setClassCache(classCache);