scala_school2
scala_school2 copied to clipboard
Interpreter sandbox
Users shouldn't be allowed to troll like:
System.exit(0)
or
while (true) println("LOL")
or
val f = new File("/")
f.delete()
I think we should be able to use levee (forked to GitHub here) for this...
@andrewnguyen I think we're getting close. We shouldn't load levee-instrumentor as an agent. Instead I think we should override IMain
's classloader, and call into levee-instrumentor there.