Message1558
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
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:47 | admin | link | issue1701729 messages |
2008-02-20 17:17:47 | admin | create | |
|