You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/01/27 10:20:00 UTC

[jira] [Updated] (GROOVY-4032) Ability to persist meta methods

     [ https://issues.apache.org/jira/browse/GROOVY-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King updated GROOVY-4032:
------------------------------
    Fix Version/s:     (was: 3.x)
                   4.x

> Ability to persist meta methods
> -------------------------------
>
>                 Key: GROOVY-4032
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4032
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-jdk
>    Affects Versions: 1.7.0
>         Environment: eclipse ganymede
> windows
>            Reporter: Matthew Corby-Eaglen
>            Priority: Major
>             Fix For: 4.x
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)