Fixes issue 37
Using a correcto class descriptor. This change will be available in next release.
This commit is contained in:
parent
72383d990c
commit
04140959b0
|
@ -154,6 +154,7 @@ public class SnappyInputStream extends InputStream
|
|||
public int rawRead(Object array, int byteOffset, int byteLength) throws IOException {
|
||||
int writtenBytes = 0;
|
||||
for (; writtenBytes < byteLength;) {
|
||||
|
||||
if (uncompressedCursor >= uncompressedLimit) {
|
||||
if (hasNextChunk())
|
||||
continue;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
void throw_exception(JNIEnv *env, jobject self, int errorCode)
|
||||
{
|
||||
jclass c = env->FindClass("Lorg/xerial/snappy/SnappyNative;");
|
||||
jclass c = env->FindClass("org/xerial/snappy/SnappyNative");
|
||||
if(c==0)
|
||||
return;
|
||||
jmethodID mth_throwex = env->GetMethodID(c, "throw_error", "(I)V");
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue