Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.4
-
None
-
Linux Ubuntu 8.04.3 LTS, Kernel 2.6.24-16-virtual, JVM 1.6.0_14-b08, Apache Tomcat 6.0.20
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.
Attachments
Attachments
Issue Links
- is related to
-
GROOVY-2212 Cannot load the class method after updated, failed after 1.1
- Closed