Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: groovy-jdk
-
Labels:None
-
Number of attachments :
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
- depends upon
-
GROOVY-2503
MOP 2.0 design inflluencing issues
-
Activity
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | Inherited method establishing logic needs to be | Inherited method establishing logic needs to be MetaClass aware |
Guillaume Laforge
made changes -
| Fix Version/s | 1.1-beta-2 [ 10436 ] |
Guillaume Laforge
made changes -
| Assignee | Jochen Theodorou [ blackdrag ] | John Wilson [ tug ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.1 [ 13166 ] |
Guillaume Laforge
made changes -
| Fix Version/s | 1.2 [ 13832 ] | |
| Fix Version/s | 1.1 [ 13166 ] |
blackdrag blackdrag
made changes -
| Assignee | John Wilson [ tug ] | |
| Fix Version/s | 2.0 [ 13489 ] | |
| Fix Version/s | 1.6 [ 13832 ] |
blackdrag blackdrag
made changes -
| Link | This issue depends upon GROOVY-2503 [ GROOVY-2503 ] |
blackdrag blackdrag
made changes -
| Parent | GROOVY-2503 [ 61571 ] | |
| Issue Type | Improvement [ 4 ] | Sub-task [ 7 ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 3.0 [ 13489 ] | |
| Priority | Critical [ 2 ] | Major [ 3 ] |
Isn't it something you've been working on?