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 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
    • Number of attachments :
      0

      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

        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 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: