Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:
      None

      Description

      Currently when I add methods to a super class with ExpandoMetaClass the child class is not able to see these new methods. This is because the logic that establishes the super methods is all private and only takes methods from the java.lang.Class instances and DGM:

        private void fillMethodIndex() {
            ...
      
             inheritMethods(superClasses,classMethodIndex);
      

      Instead inheritMethods needs to retrieve the MetaClass of the parent class, initialize it if it isn't already initialized and then get all the MetaMethod instances from it that don't already exist

        Issue Links

          Activity

          Hide
          Guillaume Delcroix added a comment -

          Isn't it something you've been working on?

          Show
          Guillaume Delcroix added a comment - Isn't it something you've been working on?
          Hide
          Alex Tkachman added a comment -

          This should go to 2.0

          Show
          Alex Tkachman added a comment - This should go to 2.0

            People

            • Assignee:
              Unassigned
              Reporter:
              Graeme Rocher
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development