Issue229363

classification
Title: Calling overriden method from java ctor
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn
Priority: low Keywords:

Created on 2001-01-19.09:47:53 by bckfnn, last changed 2001-02-14.22:36:49 by bckfnn.

Messages
msg261 (view) Author: Finn Bock (bckfnn) Date: 2001-01-19.09:47:53
Methods implemented in python will not be called from the java super class constructor. Se this mail for more details:

http://mail.python.org/pipermail/jpython-interest/2000-September/003871.html
msg262 (view) Author: Finn Bock (bckfnn) Date: 2001-02-14.22:36:49
Fixed as good as it can be fixed. If an overriden method is called from the java ctor, the python ctor will be called without any arguments. If the python ctor expect arguments, the java class have to call the __initProxy__(Object[]) method.

   ((PyProxy) this).__initProxy__(new Object[] {
         "A string",
         new Integer(42),
   }); 
History
Date User Action Args
2001-01-19 09:47:53bckfnncreate