Issue227201
Created on 2001-01-01.01:58:25 by andv, last changed 2001-01-07.09:09:40 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-01-01 01:58:25 | andv | create |
Created on 2001-01-01.01:58:25 by andv, last changed 2001-01-07.09:09:40 by bckfnn.
Messages | |||
---|---|---|---|
msg240 (view) | Author: Arnold deVos (andv) | Date: 2001-01-01.01:58:25 | |
The compiler generates incorrect java that overides a final method. For example. If jython class Log inherits javax.swing.text.PlainDocument we get this code: public javax.swing.text.Position getEndPosition() { PyObject inst = Py.jgetattr(this, "getEndPosition"); return (javax.swing.text.Position)Py.tojava(inst._jcall(new Object[] {}), "javax.swing.text.Position"); } which produces this error from javac: .\jpywork\au\com\Langdale\Anti.java:606: getEndPosition() in au.com.Langdale.Anti.Log cannot override getEndPosition() in javax.swing.text.AbstractDocument; overridden method is final |
|||
msg241 (view) | Author: Finn Bock (bckfnn) | Date: 2001-01-07.09:09:40 | |
Fixed in proxies.py revision 2.7; |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-01-01 01:58:25 | andv | create |
Supported by Python Software Foundation,
Powered by Roundup