Merge pull request #10989 from rmuir/jna_optional
ensure JNA is fully loaded when its avail, but don't fail its not
This commit is contained in:
commit
afdec4c84c
|
@ -107,7 +107,13 @@ public class Bootstrap {
|
|||
}
|
||||
});
|
||||
}
|
||||
Kernel32Library.getInstance();
|
||||
|
||||
// force remainder of JNA to be loaded (if available).
|
||||
try {
|
||||
Kernel32Library.getInstance();
|
||||
} catch (Throwable ignored) {
|
||||
// we've already logged this.
|
||||
}
|
||||
|
||||
// initialize sigar explicitly
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue