Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.4
-
Fix Version/s: 1.7-rc-1
-
Component/s: Compiler, Groovlet / GSP
-
Labels:None
-
Environment:Linux Ubuntu 8.04.3 LTS, Kernel 2.6.24-16-virtual, JVM 1.6.0_14-b08, Apache Tomcat 6.0.20
-
Number of attachments :
Description
If you change file b.groovy which is used by a.groovy, file b.groovy is not recompiled. Both files are in the same (root) directory of a web application.
Example:
a.groovy
println "<html><body>"; println "a: test<br/>"; def b = new b(); println b.test(); println "</body></html>";
b.groovy
public class b { def String test() { return "b: test<br/>"; } }
Calling a.groovy by a URL like this http://localhost:8080/groovy/a.groovy will show this output:
a: test b: test
If in file b.groovy the return value is changed to "b: test2<br/>" you will not see the change when calling a.groovy again.
Issue Links
- is related to
-
GROOVY-2212
Cannot load the class method after updated, failed after 1.1
-