提交 edbf0e2d 编写于 作者: A Adam Retter 提交者: Facebook Github Bot

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
上级 0d2172f1
......@@ -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 {
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册