Message12193

Author stefan.richthofer
Recipients jeff.allen, mohamad.mahajna, stefan.richthofer
Date 2018-12-04.03:24:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543893875.0.0.788709270274.issue2717@psf.upfronthosting.co.za>
In-reply-to
Content
Mohamad,
I am not sure if this type of coercion is currently supported by Jython. 
There is one more thing you can try. Internally, Jython represents Python functions in Java with the same signature style as PyObject.__call__.
PyObject.__call__, see http://www.javadoc.io/doc/org.python/jython-standalone/2.7.1

For your use-case this is relevant:
PyObject __call__(PyObject[] args, String[] keywords)

Please try it like this:

public interface TrexClient{
  public void func1(PyObject[] args, String[] keywords);
}
History
Date User Action Args
2018-12-04 03:24:35stefan.richthofersetmessageid: <1543893875.0.0.788709270274.issue2717@psf.upfronthosting.co.za>
2018-12-04 03:24:34stefan.richthofersetrecipients: + stefan.richthofer, jeff.allen, mohamad.mahajna
2018-12-04 03:24:34stefan.richthoferlinkissue2717 messages
2018-12-04 03:24:34stefan.richthofercreate