Closed fpoli closed 7 years ago
No sorry. Such a function does not exist (yet).
You'd need to create a String array using the [type
array specifier https://docs.oracle.com/javase/1.5.0/docs/guide/jni/spec/types.html
Then Java strings would have to be created and set using the Java array method.
I don't have much time for this but i would be happy to merge such a function if provided.
There is also https://github.com/rawrasaur/rust-jvm
Thanks
Is it possible to build a Java array from rucaja?
I would like to call a Java method that takes an array of strings (eg.
void main(String[] args)
), but I can't find how to build the `jvalue' of the array.