Error handling during vm execution phases is dependent on the Jvm::currentVm thread local, if it is not set during the attach or detach phase of execution, then errors thrown by native libraries will not be caught by the default fake-jni signal handler.
Also Jvm::attachLibrary and Jvm::detachLibrary should block on recurrent and pair invocation but not on vm execution.
Error handling during vm execution phases is dependent on the
Jvm::currentVm
thread local, if it is not set during the attach or detach phase of execution, then errors thrown by native libraries will not be caught by the defaultfake-jni
signal handler.Also
Jvm::attachLibrary
andJvm::detachLibrary
should block on recurrent and pair invocation but not on vm execution.