HDFS-14047. [libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c

(Contributed by Antoli Shein via Daniel Templeton)

Change-Id: Ia5546fd5f8270f285c373b9023a9bd9835059845
This commit is contained in:
Daniel Templeton 2018-11-05 16:42:29 -08:00 committed by Konstantin V Shvachko
parent a2f4e4698b
commit 252c3a158d
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ static char* getExceptionUtilString(JNIEnv *env, jthrowable exc, char *methodNam
jstring jStr = NULL;
char *excString = NULL;
jthr = invokeMethod(env, &jVal, STATIC, NULL,
"org/apache/commons/lang/exception/ExceptionUtils",
"org/apache/commons/lang3/exception/ExceptionUtils",
methodName, "(Ljava/lang/Throwable;)Ljava/lang/String;", exc);
if (jthr) {
destroyLocalReference(env, jthr);