pub fn execute_with_jni_env<T>( jvm: Jvm, f: impl FnOnce(&mut JNIEnv<'_>) -> Result<T, Error>, ) -> Result<T, Error>