From f0ac928d212f74a2a422af2e89ec930c7b42e224 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 9 Jul 2023 14:50:30 +0200 Subject: Use GlueGen's SecurityUtil.doPrivileged(..) instead of AccessController, remove dead code --- make/config/joal-alextabstract-CustomJavaCode.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'make/config/joal-alextabstract-CustomJavaCode.java') diff --git a/make/config/joal-alextabstract-CustomJavaCode.java b/make/config/joal-alextabstract-CustomJavaCode.java index 19b42ab..7f18094 100644 --- a/make/config/joal-alextabstract-CustomJavaCode.java +++ b/make/config/joal-alextabstract-CustomJavaCode.java @@ -1,12 +1,9 @@ private static final ALExtProcAddressTable alExtProcAddressTable; static { - alExtProcAddressTable = AccessController.doPrivileged(new PrivilegedAction() { + alExtProcAddressTable = SecurityUtil.doPrivileged(new PrivilegedAction() { public ALExtProcAddressTable run() { final ALExtProcAddressTable alExtProcAddressTable = new ALExtProcAddressTable(); - if(null==alExtProcAddressTable) { - throw new RuntimeException("Couldn't instantiate ALExtProcAddressTable"); - } alExtProcAddressTable.reset(ALImpl.alDynamicLookupHelper); /** Not required nor forced if( !initializeImpl() ) { -- cgit v1.2.3