if (error != JNI_OK) {
/* This is probably a Java thread, ie an actor not created from the XML (and thus from the C++),
* but from Java with something like new Process().start().
if (error != JNI_OK) {
/* This is probably a Java thread, ie an actor not created from the XML (and thus from the C++),
* but from Java with something like new Process().start().