Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Update of /cvsroot/jython/jython/Tools/jythonc
In directory usw-pr-cvs1:/tmp/cvs-serv27039
PyClass.isSuperjavaclass(): Added fix for #439825 as a crude check for
one level of innerclasses.
RCS file: /cvsroot/jython/jython/Tools/jythonc/ObjectFactory.py,v
retrieving revision 2.9
retrieving revision 2.10
diff -C2 -r2.9 -r2.10
*** ObjectFactory.py 2001/06/30 01:03:13 2.9
--- ObjectFactory.py 2001/07/09 20:23:30 2.10
*** 229,232 ****
--- 229,238 ----
if hasattr(base, "name"):
jc = compile.getJavaClass(base.name)
+ if jc is None:
+ idx = base.name.rfind('.')
+ if idx > 0:
+ #crude support for innerclasses.
+ name = base.name[:idx] + '$' + base.name[idx+1:]
+ jc = compile.getJavaClass(name)
if jc is not None:
Sign up for the SourceForge newsletter: