diff options
Diffstat (limited to 'make/config/joal-al-CustomJavaCode.java')
-rw-r--r-- | make/config/joal-al-CustomJavaCode.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/make/config/joal-al-CustomJavaCode.java b/make/config/joal-al-CustomJavaCode.java index 312a23d..9439a48 100644 --- a/make/config/joal-al-CustomJavaCode.java +++ b/make/config/joal-al-CustomJavaCode.java @@ -7,12 +7,9 @@ static { throw new RuntimeException("Couldn't instantiate ALProcAddressTable"); } - alDynamicLookupHelper = AccessController.doPrivileged(new PrivilegedAction<DynamicLibraryBundle>() { + alDynamicLookupHelper = SecurityUtil.doPrivileged(new PrivilegedAction<DynamicLibraryBundle>() { public DynamicLibraryBundle run() { final DynamicLibraryBundle bundle = new DynamicLibraryBundle(new ALDynamicLibraryBundleInfo()); - if(null==bundle) { - throw new RuntimeException("Null ALDynamicLookupHelper"); - } if(!bundle.isToolLibLoaded()) { throw new RuntimeException("Couln't load native AL library"); } |