summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-11 16:27:15 +0200
committerSven Gothel <[email protected]>2013-06-11 16:27:15 +0200
commit072ac81a76db9c9eb24c639a38bee75bf0ed5c9e (patch)
tree7b894ac6481ef501bad3970fb6ed9db73f090aa1 /make
parentf92b110509aa507947c19ad29e8d0656cf75a669 (diff)
Adapt to GlueGen commit 1a01dce6c42b398cdd68d405828774a3ab366456
Diffstat (limited to 'make')
-rw-r--r--make/joal-common-CustomJavaCode.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/make/joal-common-CustomJavaCode.java b/make/joal-common-CustomJavaCode.java
index be6b8a7..436f462 100644
--- a/make/joal-common-CustomJavaCode.java
+++ b/make/joal-common-CustomJavaCode.java
@@ -7,12 +7,11 @@ static {
throw new RuntimeException("Couldn't instantiate ALProcAddressTable");
}
- alDynamicLookupHelper = (DynamicLibraryBundle)
- AccessController.doPrivileged(new PrivilegedAction() {
- public Object run() {
- return new DynamicLibraryBundle(new ALDynamicLibraryBundleInfo());
- }
- });
+ alDynamicLookupHelper = AccessController.doPrivileged(new PrivilegedAction<DynamicLibraryBundle>() {
+ public DynamicLibraryBundle run() {
+ return new DynamicLibraryBundle(new ALDynamicLibraryBundleInfo());
+ } } );
+
if(null==alDynamicLookupHelper) {
throw new RuntimeException("Null ALDynamicLookupHelper");
}