Issue1701719
Created on 2007-04-16.18:58:45 by mr_tines, last changed 2009-03-14.02:05:25 by fwierzbicki.
msg1556 (view) |
Author: Mr. Tines (mr_tines) |
Date: 2007-04-16.18:58:45 |
|
Using Jython 2.2b1, this form of import
import java
import java.lang
class Backplane(java.lang.Object):
def performSetup(self, arg):
"@sig public void performSetup(java.lang.String arg)"
... # do something e.g. self.arg = arg
does not provoke the generation of the performSetup() method; you have to do the import as a "from", like this
from java import lang
class Backplane(lang.Object):
def performSetup(self, arg):
"@sig public void performSetup(java.lang.String arg)"
...
in order to generate the public method in the enclosing class.
|
msg1557 (view) |
Author: Mr. Tines (mr_tines) |
Date: 2007-04-23.22:53:40 |
|
Note that explicitly documenting the quirk would be a mitigation of the problem.
|
msg4281 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-03-14.02:05:24 |
|
jythonc is no longer maintained.
|
|
Date |
User |
Action |
Args |
2009-03-14 02:05:25 | fwierzbicki | set | status: open -> closed resolution: wont fix messages:
+ msg4281 nosy:
+ fwierzbicki |
2007-04-16 18:58:45 | mr_tines | create | |
|