Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.5
-
None
-
None
-
winxp
Description
I have a groovy engine which I construct using this constructor
new GroovyScriptEngine(pPathRoots, pParentClassLoader);
My root folder contains a groovy class (let's call it A) which is dependent with other groovy classes (assume a class named B).
When I recreate class A and use the engine to reload it (using the loadScriptByName method), the engine reloads the new A class but not the new B class.
As a workaround, each time I change a file I create a new engine, but this really slows things up.
The same also happened on version 1.5.0.