aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux')
-rw-r--r--plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java b/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
index d6afb96..7ad3439 100644
--- a/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
+++ b/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
@@ -44,13 +44,7 @@ public final class LinuxEnvironmentPlugin extends ControllerEnvironment implemen
private final static LinuxDeviceThread device_thread = new LinuxDeviceThread();
static {
- AccessController.doPrivileged(
- new PrivilegedAction() {
- public final Object run() {
- System.loadLibrary("jinput-linux");
- return null;
- }
- });
+ DefaultControllerEnvironment.loadLibrary("jinput-linux");
}
public final static Object execute(LinuxDeviceTask task) throws IOException {