From: Finn B. <bc...@us...> - 2001-01-07 09:11:02
|
Update of /cvsroot/jython/jython/Tools/jythonc In directory usw-pr-cvs1:/tmp/cvs-serv28653 Modified Files: proxies.py Log Message: typeName(): Fix bug 127200. Index: proxies.py =================================================================== RCS file: /cvsroot/jython/jython/Tools/jythonc/proxies.py,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -r2.7 -r2.8 *** proxies.py 2001/01/07 09:08:54 2.7 --- proxies.py 2001/01/07 09:11:10 2.8 *************** *** 26,29 **** --- 26,34 ---- return typeName(Class.getComponentType(cls))+"[]" else: + if '$' in cls.__name__: + outer = cls.getDeclaringClass() + if outer: + l = len(outer.__name__) + return "%s.%s" % (typeName(outer), cls.__name__[l+1:]) return cls.__name__ |