Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7.0
-
None
-
eclipse ganymede
windows
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.
Attachments
Issue Links
- relates to
-
GROOVY-2503 MOP 2.0 design inflluencing issues
- Open