ensure JNA is fully loaded when its avail, but don't fail its not
This commit is contained in:
parent
fafd67e1ae
commit
15e6d3ec6c
|
@ -107,7 +107,13 @@ public class Bootstrap {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 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