Re: what classloader should a ScriptEngine use?

2010-08-18 Thread Justin Edelson
On 8/18/10 1:40 AM, Carsten Ziegeler wrote: Justin Edelson wrote 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

what classloader should a ScriptEngine use?

2010-08-17 Thread Justin Edelson
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

Re: what classloader should a ScriptEngine use?

2010-08-17 Thread Carsten Ziegeler
Justin Edelson wrote 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