Issue1701729
Created on 2007-04-16.19:12:12 by mr_tines, last changed 2008-09-14.01:54:02 by zyasoft.
msg1558 (view) |
Author: Mr. Tines (mr_tines) |
Date: 2007-04-16.19:12:12 |
|
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
|
msg3576 (view) |
Author: Jim Baker (zyasoft) |
Date: 2008-09-14.01:54:02 |
|
jythonc is no longer supported
|
|
Date |
User |
Action |
Args |
2008-09-14 01:54:02 | zyasoft | set | status: open -> closed resolution: wont fix messages:
+ msg3576 nosy:
+ zyasoft |
2007-04-16 19:12:12 | mr_tines | create | |
|