mirror of
https://github.com/xerial/snappy-java.git
synced 2025-04-08 19:35:08 +02:00
Fix pure-java fallback
This commit is contained in:
parent
585c6a135e
commit
a1f4fa3b10
@ -168,7 +168,7 @@ public class SnappyLoader
|
|||||||
setSnappyApi(new SnappyNative());
|
setSnappyApi(new SnappyNative());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(Exception e) {
|
catch(Throwable e) {
|
||||||
// Fall-back to pure-java Snappy implementation
|
// Fall-back to pure-java Snappy implementation
|
||||||
setSnappyApi(new PureJavaSnappy());
|
setSnappyApi(new PureJavaSnappy());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user