Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5095

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.3
    • 1.8.4, 2.0-beta-1
    • None
    • 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.

      Attachments

        Activity

          People

            melix Cédric Champeau
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: