Parcourir la source

HDFS-14047. [libhdfs++] Fix hdfsGetLastExceptionRootCause bug in test_libhdfs_threaded.c
(Contributed by Antoli Shein via Daniel Templeton)

Change-Id: Ia5546fd5f8270f285c373b9023a9bd9835059845

Daniel Templeton il y a 6 ans
Parent
commit
349168c4b3

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/exception.c

@@ -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);