Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.8.5, 2.0-beta-2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
See the discussion at http://groovy.329449.n5.nabble.com/Serializing-Closures-td5015137.html
Closures are serializable, but the "owner", "delegate" and "thisObject" objects may not be serializable. The idea is to provide a method which returns a copy of the current closure with the above fields nullified.
A "rehydrate" method should be provided to offer the inverse operation.
Activity
Cedric Champeau
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | groovy-5151.patch [ 58014 ] |
Cedric Champeau
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |