Env should also load the native library (#6167)

Summary:
Closes https://github.com/facebook/rocksdb/issues/6118
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6167

Differential Revision: D19053577

Pulled By: pdillinger

fbshipit-source-id: 86aca9a5bec0947a641649b515da17b3cb12bdde
This commit is contained in:
Adam Retter 2019-12-13 16:11:40 -08:00 committed by Facebook Github Bot
parent 0d2172f128
commit edbf0e2d90

View File

@ -13,6 +13,10 @@ import java.util.List;
*/
public abstract class Env extends RocksObject {
static {
RocksDB.loadLibrary();
}
private static final Env DEFAULT_ENV = new RocksEnv(getDefaultEnvInternal());
static {
/**