Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7.5
-
Fix Version/s: 1.7.6, 1.8-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The following usages of groovy remote do not work.
remote.exec { new GregorianCalendar().time = new Date() }
remote.exec { new GregorianCalendar()."$methodName"(new Date()) }
Both of these constructs cause a NoClassDefFoundError because somehow a reference to the owner class is embedded in the closure.
See: http://permalink.gmane.org/gmane.comp.lang.groovy.user/51193