HADOOP-15820. ZStandardDecompressor native code sets an integer field as a long. Contributed by Jason Lowe
(cherry picked from commit f13e231025
)
This commit is contained in:
parent
f3f0a9a2ca
commit
df7ec58ced
|
@ -145,7 +145,7 @@ JNIEXPORT void JNICALL Java_org_apache_hadoop_io_compress_zstd_ZStandardDecompre
|
||||||
THROW(env, "java/lang/InternalError", dlsym_ZSTD_getErrorName(result));
|
THROW(env, "java/lang/InternalError", dlsym_ZSTD_getErrorName(result));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
(*env)->SetLongField(env, this, ZStandardDecompressor_remaining, 0);
|
(*env)->SetIntField(env, this, ZStandardDecompressor_remaining, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue