summaryrefslogtreecommitdiffstats
path: root/make/config/joal-alcabstract-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/joal-alcabstract-CustomJavaCode.java')
-rwxr-xr-xmake/config/joal-alcabstract-CustomJavaCode.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/make/config/joal-alcabstract-CustomJavaCode.java b/make/config/joal-alcabstract-CustomJavaCode.java
new file mode 100755
index 0000000..debadad
--- /dev/null
+++ b/make/config/joal-alcabstract-CustomJavaCode.java
@@ -0,0 +1,16 @@
+private static final ALCProcAddressTable alcProcAddressTable;
+
+static {
+ alcProcAddressTable = AccessController.doPrivileged(new PrivilegedAction<ALCProcAddressTable>() {
+ public ALCProcAddressTable run() {
+ final ALCProcAddressTable alcProcAddressTable = new ALCProcAddressTable();
+ if(null==alcProcAddressTable) {
+ throw new RuntimeException("Couldn't instantiate ALCProcAddressTable");
+ }
+ alcProcAddressTable.reset(ALImpl.alDynamicLookupHelper);
+ return alcProcAddressTable;
+ } } );
+}
+
+public static ALCProcAddressTable getALCProcAddressTable() { return alcProcAddressTable; }
+