#include "msg/msg.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(jmsg);
+static jfieldID jvm_field_bind;
+
void jvm_bind(JNIEnv *env, jobject jvm, msg_vm_t vm) {
(*env)->SetLongField(env, jvm, jvm_field_bind, (intptr_t)vm);
}
msg_vm_t vm = jvm_get_native(env,jvm);
msg_process_t process = jprocess_to_native_process(jprocess,env);
- xbt_assert((vm != NULL), "VM object is not binded");
- xbt_assert((process != NULL), "Process object is not binded.");
+ xbt_assert((vm != NULL), "VM object is not bound");
+ xbt_assert((process != NULL), "Process object is not bound.");
MSG_vm_bind(vm,process);
}