diff --git a/java/src/main/native/src/NvcompJni.cpp b/java/src/main/native/src/NvcompJni.cpp index d551e9414d1..533654baee1 100644 --- a/java/src/main/native/src/NvcompJni.cpp +++ b/java/src/main/native/src/NvcompJni.cpp @@ -65,7 +65,7 @@ JNIEXPORT jboolean JNICALL Java_ai_rapids_cudf_nvcomp_NvcompJni_isLZ4Data(JNIEnv auto in_ptr = reinterpret_cast(j_in_ptr); auto in_size = static_cast(j_in_size); auto stream = reinterpret_cast(j_stream); - return LZ4IsData(in_ptr, in_size, stream); + return nvcompLZ4IsData(in_ptr, in_size, stream); } CATCH_STD(env, 0) } @@ -74,7 +74,7 @@ JNIEXPORT jboolean JNICALL Java_ai_rapids_cudf_nvcomp_NvcompJni_isLZ4Metadata(JN jlong metadata_ptr) { try { cudf::jni::auto_set_device(env); - return LZ4IsMetadata(reinterpret_cast(metadata_ptr)); + return nvcompLZ4IsMetadata(reinterpret_cast(metadata_ptr)); } CATCH_STD(env, 0) }