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