Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.5
-
None
-
None
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