From: SourceForge.net <no...@so...> - 2007-04-19 20:29:50
|
Bugs item #1701729, was opened at 2007-04-16 14:12 Message generated for change (Settings changed) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1701729&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Jythonc compiler Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mr. Tines (mr_tines) Assigned to: Nobody/Anonymous (nobody) Summary: Jython code can't handle Jythonc classes Initial Comment: Encountered while doing a class-by-class port of a Java app to Jython using Jython 2.2b1 * Backplane.py from java import lang # see report 1701719 about the use of this idiom class Backplane(lang.Object): def performSetup(self, arg): "@sig public void performSetup(java.lang.String arg)" self.arg = arg Generate class file with "jythonc -p test Backplane.py" * UseBackplane.py import test backplane = test.Backplane() backplane.performSetup("test") Run with "jython UseBackplane.py" Traceback (innermost last): File "UseBackplane.py", line 4, in ? AttributeError: abstract method "performSetup" not implemented But it's clearly there in the intermediate Java file ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1701729&group_id=12867 |