aboutsummaryrefslogtreecommitdiffstats
path: root/make/joal-common-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/joal-common-CustomJavaCode.java')
-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");
}