summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/NativeLibLoader.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-08 16:23:28 +0100
committerMichael Bien <[email protected]>2010-03-08 16:23:28 +0100
commit5ad19147a76f80635dcae18693929edbf1da2cbf (patch)
tree929896eab7d454edcb2267d9287d619600868250 /src/com/mbien/opencl/NativeLibLoader.java
parentc77d94f00de586f3ffa54312dd752650a6ff4d7b (diff)
moved utilities to util package.
several smaller improvements and doc fixes.
Diffstat (limited to 'src/com/mbien/opencl/NativeLibLoader.java')
-rw-r--r--src/com/mbien/opencl/NativeLibLoader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/NativeLibLoader.java b/src/com/mbien/opencl/NativeLibLoader.java
index b8148432..d6808dbc 100644
--- a/src/com/mbien/opencl/NativeLibLoader.java
+++ b/src/com/mbien/opencl/NativeLibLoader.java
@@ -10,9 +10,8 @@ import com.sun.nativewindow.impl.NativeLibLoaderBase;
*/
class NativeLibLoader extends NativeLibLoaderBase {
- @SuppressWarnings("unchecked")
public static void loadJOCL() {
- AccessController.doPrivileged(new PrivilegedAction() {
+ AccessController.doPrivileged(new PrivilegedAction<Object>() {
public Object run() {
loadLibrary("jocl", null, true);
return null;