Groovy
  1. Groovy
  2. GROOVY-5095

MetaClassRegistryChangeEventListener doesn't provide a way to get a reference to the old meta class

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.4, 2.0-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      There is currently no way to know what the previous meta class was in the case of listening for meta class registry change events. This is because you only get a reference to the class and the new meta class in the event. The event is fired after the meta class is changed as well so you can't even use the class to lookup the old meta class. Please provide a way to get hold of the old meta class.

        Activity

        Graeme Rocher created issue -
        Cédric Champeau made changes -
        Field Original Value New Value
        Assignee Cedric Champeau [ melix ]
        Cédric Champeau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.9-beta-5 [ 17925 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12734019 ] Default workflow, editable Closed status [ 12745812 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971533 ] Default workflow, editable Closed status [ 12979348 ]

          People

          • Assignee:
            Cédric Champeau
            Reporter:
            Graeme Rocher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development