I implemented a simple GSP/GString ScriptEngine today and got tripped up with what ClassLoader to use during script evaluation. Currently, the code is using the ClassLoader of the groovy-all bundle. This has a dynamic import of *, so it works fine, but this seemed wrong for some reason.
Is there a better classloader to use in this context? Thanks, Justin