You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
then we can call the Python code from Java as follows ::
// Import the Python modulePyModuleplugInModule = PyLib.importModule("bibo_plugin");
// Call the Python class to instantiate an objectPyObjectplugInObj = plugInClass.call("BiboPlugin");
// Create a Java proxy object for the Python objectPlugInplugIn = plugInObj.createProxy(PlugIn.class);
String[] result = plugIn.process('Abcdefghi jkl mnopqr stuv wxy z');
plugIn.setVal(1234);
ifplugIn.check1234() {
System.out.println("it is equal");
}
else {
System.out.println("it is not equal"):
}
If you run the above snippet, you will get it is not equal, which is incorrect.
What is happening is that the fundamental types are not being received into the correct types in Python.
I have a fix for this, which I will submit in a moment.