Message5308
Currently, any keyword arguments passed to a constructor of a Java class
are used to set bean properties of the specified names, which obviously
adds convenience.
Java methods can receive and process keyword arguments by having the
form MyClass#myMethod(PyObject values[], String names[]); Jython assumes
that the Java method wishes to receive keyword arguments, and passes
them through.
It would be beneficial for constructors to be able to handle keyword
arguments that same way that methods do. Unfortunately, this is not
currently the case, since any keyword arguments are assumed to be bean
property values. |
|
Date |
User |
Action |
Args |
2009-11-13 09:52:03 | MrMeanie | set | recipients:
+ MrMeanie |
2009-11-13 09:52:02 | MrMeanie | set | messageid: <1258105922.8.0.0450515268409.issue1503@psf.upfronthosting.co.za> |
2009-11-13 09:52:02 | MrMeanie | link | issue1503 messages |
2009-11-13 09:52:02 | MrMeanie | create | |
|