Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.9
-
None
-
None
-
Windows
Description
if a script loads a class from mypackage using static import and the class is changed, the next run will not recompile the dependent class.
Script:
import static mypackage.Test.*;
doit()
Class:
package mypackage;
class Test {
static def doit()
}
Reproducer: run script in GroovyScriptEngine, then update the println in class Test to "Hello2", run script again, still Hello is printed.
It works with normal imports.