Lines Matching defs:jnienv
38 JNIEnv* jnienv,
46 if (JvmtiErrorToException(jnienv, jvmti,
51 if (!jnienv->IsInstanceOf(throwable, data->exception_klass)) {
54 jthrowable e = jnienv->ExceptionOccurred();
55 jnienv->ExceptionClear();
57 jobject throw_method_arg = GetJavaMethod(jvmti, jnienv, throw_method);
59 catch_method != nullptr ? GetJavaMethod(jvmti, jnienv, catch_method) : nullptr;
60 jnienv->CallStaticVoidMethod(data->test_klass,
68 jnienv->DeleteLocalRef(throw_method_arg);
70 jnienv->DeleteLocalRef(catch_method_arg);
73 jnienv->Throw(e);
79 JNIEnv* jnienv,
85 if (JvmtiErrorToException(jnienv, jvmti,
89 if (!jnienv->IsSameObject(data->exception_klass, jnienv->GetObjectClass(throwable))) {
92 jthrowable e = jnienv->ExceptionOccurred();
93 jnienv->ExceptionClear();
95 jobject catch_method_arg = GetJavaMethod(jvmti, jnienv, catch_method);
96 jnienv->CallStaticVoidMethod(data->test_klass,
102 jnienv->DeleteLocalRef(catch_method_arg);
104 jnienv->Throw(e);