From: Finn B. <bc...@us...> - 2001-03-22 20:05:57
|
Update of /cvsroot/jython/jython/org/python/compiler In directory usw-pr-cvs1:/tmp/cvs-serv22261 Modified Files: JavaMaker.java Log Message: Make the fix for #222819 a little more stable. Some super__ method would still be created. Index: JavaMaker.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/compiler/JavaMaker.java,v retrieving revision 2.9 retrieving revision 2.10 diff -C2 -r2.9 -r2.10 *** JavaMaker.java 2001/02/23 20:23:52 2.9 --- JavaMaker.java 2001/03/22 20:05:52 2.10 *************** *** 6,9 **** --- 6,10 ---- import java.util.Hashtable; import org.python.core.PyObject; + import org.python.core.PyProxy; public class JavaMaker extends ProxyMaker *************** *** 131,135 **** throws Exception { ! if (!superclass.startsWith("org/python/proxies")) { super.addSuperMethod(methodName,superName,superclass,parameters,ret,sig,access); } --- 132,136 ---- throws Exception { ! if (!PyProxy.class.isAssignableFrom(this.superclass)) { super.addSuperMethod(methodName,superName,superclass,parameters,ret,sig,access); } |