Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.7.0
-
Fix Version/s: 3.0
-
Component/s: groovy-jdk
-
Labels:None
-
Environment:eclipse ganymede
windows
-
Number of attachments :
Description
Other languages, such as Lua, can persist dynamic methods:
http://luaforge.net/projects/pluto/
example of how it works:
http://www.mudbytes.net/index.php?a=topic&t=1991
In groovy, you cannot persist a meta method that you have dynamically added to a class because the metaclass is not set up with the closure when deserialization occurs.
I think it would be a good feature to implement, however it may be done.
Issue Links
- relates to
-
GROOVY-2503
MOP 2.0 design inflluencing issues
-