|
From: Ype K. <yk...@xs...> - 2001-01-09 21:13:47
|
Dear developers, In Jython, when subclassing from a Java class, the protected attributes of the Java class are not available. This is different in a Java subclass. Why? In case this actually should be changed: which code in the Jython source is providing this feature? I know about the registry entry for accessing protected and private attributes, but that is doing too much as I don't need private fields. (I tried to access the protected pySystemState in PythonInterpreter.java in a Jython subclass, which didn't work. I worked around it by temporarily changing the current system's argv while invoking the interpreter.) Thanks for you time, Ype |