Groovy
  1. Groovy
  2. GROOVY-3299

Modifying meta-class has no effect in some cases

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.6-rc-1
    • Fix Version/s: 3.0
    • Component/s: groovy-runtime
    • Labels:
      None

      Description

      See the attach test case. Basically it seems that the meta class for a class is cached, but if it is modified (for example via EMC syntax), the cached version is not updated.

      1. MetaClassCachingBugWithInterfaceTests.groovy
        0.6 kB
        Peter Ledbrook
      2. MetaClassCachingBugTests.groovy
        0.6 kB
        Peter Ledbrook

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12970117 ] Default workflow, editable Closed status [ 12977892 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12732296 ] Default workflow, editable Closed status [ 12744088 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Jochen Theodorou made changes -
        Component/s groovy-runtime [ 16250 ]
        Jochen Theodorou made changes -
        Fix Version/s 1.8.x [ 15750 ]
        Fix Version/s 3.0 [ 13489 ]
        Fix Version/s 2.x [ 17013 ]
        Jochen Theodorou made changes -
        Fix Version/s 1.8.x [ 15750 ]
        Fix Version/s 2.x [ 17013 ]
        Fix Version/s 1.7.x [ 15538 ]
        Jochen Theodorou made changes -
        Assignee Alex Tkachman [ ait ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.7-beta-x [ 15538 ]
        Fix Version/s 1.7-beta-1 [ 14014 ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.6.3 [ 15251 ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.6.2 [ 15151 ]
        Fix Version/s 1.6.3 [ 15251 ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.6.2 [ 15151 ]
        Fix Version/s 1.6.1 [ 14852 ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.6-rc-2 [ 13832 ]
        Fix Version/s 1.6.1 [ 14852 ]
        Peter Ledbrook made changes -
        Attachment MetaClassCachingBugWithInterfaceTests.groovy [ 39441 ]
        Peter Ledbrook made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Fix Version/s 1.7-beta-1 [ 14014 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Assignee Alex Tkachman [ ait ]
        Peter Ledbrook created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development