aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/nio
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/java/com/jogamp/common/nio
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/java/com/jogamp/common/nio')
-rw-r--r--src/java/com/jogamp/common/nio/AbstractBuffer.java4
-rw-r--r--src/java/com/jogamp/common/nio/PointerBuffer.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/java/com/jogamp/common/nio/AbstractBuffer.java b/src/java/com/jogamp/common/nio/AbstractBuffer.java
index 1d99767..90e31f8 100644
--- a/src/java/com/jogamp/common/nio/AbstractBuffer.java
+++ b/src/java/com/jogamp/common/nio/AbstractBuffer.java
@@ -32,7 +32,7 @@
package com.jogamp.common.nio;
import com.jogamp.common.os.*;
-import com.jogamp.gluegen.runtime.NativeLibLoader;
+import com.jogamp.gluegen.runtime.GlueGenJNILibLoader;
import java.nio.Buffer;
import java.nio.ByteBuffer;
@@ -49,7 +49,7 @@ public abstract class AbstractBuffer<B extends AbstractBuffer> implements Native
protected int position;
static {
- NativeLibLoader.loadGlueGenRT();
+ GlueGenJNILibLoader.loadGlueGenRT();
}
/**
diff --git a/src/java/com/jogamp/common/nio/PointerBuffer.java b/src/java/com/jogamp/common/nio/PointerBuffer.java
index 27a0bc6..d2691d9 100644
--- a/src/java/com/jogamp/common/nio/PointerBuffer.java
+++ b/src/java/com/jogamp/common/nio/PointerBuffer.java
@@ -39,7 +39,7 @@ import java.nio.LongBuffer;
import com.jogamp.common.os.NativeLibrary;
import com.jogamp.common.os.Platform;
import com.jogamp.common.util.LongObjectHashMap;
-import com.jogamp.gluegen.runtime.NativeLibLoader;
+import com.jogamp.gluegen.runtime.GlueGenJNILibLoader;
/**
* Hardware independent container for native pointer arrays.
@@ -55,7 +55,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
protected LongObjectHashMap dataMap = null;
static {
- NativeLibLoader.loadGlueGenRT();
+ GlueGenJNILibLoader.loadGlueGenRT();
}
/** no backup array, use for direct usage only */