aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-21 20:52:10 +0200
committerSven Gothel <[email protected]>2011-09-21 20:52:10 +0200
commitdef691b009132463f8ec8efabd0d72768235dcf5 (patch)
tree574ce12a6bd1ff12b93faaac70c36f3dc5256364 /src/junit/com/jogamp
parent0e44b330403011558391c732a0b6240694ecb6a1 (diff)
Unify JNI Library Loading into JNILibLoaderBase and use it for the gluegen-rt native lib as well
- removed redundance - move proper JNLPAppletLauncher custom libloader code into JNILibLoaderBase - prepares for new JAR temp cache ..
Diffstat (limited to 'src/junit/com/jogamp')
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java b/src/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java
index 12bdf7f..5fc2df7 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/generation/BindingJNILibLoader.java
@@ -34,7 +34,7 @@ import java.security.*;
public class BindingJNILibLoader extends JNILibLoaderBase {
public static void loadBindingtest1p1() {
- AccessController.doPrivileged(new PrivilegedAction() {
+ AccessController.doPrivileged(new PrivilegedAction<Object>() {
public Object run() {
loadLibrary("Bindingtest1p1", null, true);
return null;
@@ -43,7 +43,7 @@ public class BindingJNILibLoader extends JNILibLoaderBase {
}
public static void loadBindingtest1p2() {
- AccessController.doPrivileged(new PrivilegedAction() {
+ AccessController.doPrivileged(new PrivilegedAction<Object>() {
public Object run() {
loadLibrary("Bindingtest1p2", null, true);
return null;