Message741
Logged In: YES
user_id=4201
I think something like this is enough but I can't test now.:
Index: ProxyMaker.java
===================================================================
RCS file:
/cvsroot/jython/jython/org/python/compiler/ProxyMaker.java,v
retrieving revision 2.16
diff -u -r2.16 ProxyMaker.java
--- ProxyMaker.java 27 Nov 2001 19:07:21 -0000 2.16
+++ ProxyMaker.java 17 Sep 2002 14:36:53 -0000
@@ -767,6 +767,7 @@
classfile.addInterface("org/python/core/PyProxy");
Hashtable seenmethods = new Hashtable();
+ addMethods(superclass, seenmethods);
for (int i=0; i<interfaces.length; i++) {
if (interfaces[i].isAssignableFrom(superclass)) {
Py.writeWarning("compiler",
@@ -777,12 +778,9 @@
classfile.addInterface(mapClass(interfaces[i]));
addMethods(interfaces[i], seenmethods);
}
- addMethods(superclass, seenmethods);
doConstants();
addClassDictInit();
} |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:17:09 | admin | link | issue610576 messages |
| 2008-02-20 17:17:09 | admin | create | |
|