(thread: jthread, depth: jint)
| 513 | } |
| 514 | |
| 515 | unsafe fn get_this(thread: jthread, depth: jint) -> Result<jobject, String> { |
| 516 | let mut obj: jobject = ptr::null_mut(); |
| 517 | let inst_res = (**JVMTI_ENV).GetLocalInstance.unwrap()(JVMTI_ENV, thread, depth, &mut obj); |
| 518 | return util::result_or_jvmti_err(obj, inst_res); |
| 519 | } |
| 520 | |
| 521 | unsafe fn get_local_var(jni_env: *mut JNIEnv, thread: jthread, depth: jint, slot: jint, typ: &str) -> Result<jobject, String> { |
| 522 | return match typ { |
no test coverage detected