MCPcopy Create free account
hub / github.com/apache/impala / LoadJniMethod

Method LoadJniMethod

be/src/util/jni-util.cc:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359Status JniUtil::LoadJniMethod(JNIEnv* env, const jclass& jni_class,
360 JniMethodDescriptor* descriptor) {
361 (*descriptor->method_id) = env->GetMethodID(jni_class,
362 descriptor->name.c_str(), descriptor->signature.c_str());
363 RETURN_ERROR_IF_EXC(env);
364 return Status::OK();
365}
366
367Status JniUtil::LoadStaticJniMethod(JNIEnv* env, const jclass& jni_class,
368 JniMethodDescriptor* descriptor) {

Callers

nothing calls this directly

Calls 2

OKFunction · 0.85
GetMethodIDMethod · 0.80

Tested by

no test coverage detected