Other errors can occur when loading native keyboard lib, such as security exceptions, so let's catch those too and cope.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@342 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -74,9 +74,9 @@ public class Keyboard
|
||||
log.info("Native keyboard library initialization failed.");
|
||||
}
|
||||
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
} catch (Throwable t) {
|
||||
log.warning("Failed to load native keyboard library " +
|
||||
"[e=" + e + "].");
|
||||
"[cause=" + t + "].");
|
||||
_haveLib = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user