diff options
author | Sven Gothel <[email protected]> | 2014-01-26 00:34:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-01-26 00:34:45 +0100 |
commit | 2b5522690722cb3b02a4b2aced6e4bd7b2f82dfe (patch) | |
tree | 44310a515a3aa77b55ff61bb4c2d230bf788f6f7 /make/config/joal-alextabstract-CustomJavaCode.java | |
parent | 23183ccf782c0252957c8d9cf2b51f70b9815acf (diff) |
Build: Move gluegen config files into make/config (cleanup)
Diffstat (limited to 'make/config/joal-alextabstract-CustomJavaCode.java')
-rw-r--r-- | make/config/joal-alextabstract-CustomJavaCode.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/make/config/joal-alextabstract-CustomJavaCode.java b/make/config/joal-alextabstract-CustomJavaCode.java new file mode 100644 index 0000000..e467fc7 --- /dev/null +++ b/make/config/joal-alextabstract-CustomJavaCode.java @@ -0,0 +1,16 @@ +private static final ALExtProcAddressTable alExtProcAddressTable; + +static { + alExtProcAddressTable = AccessController.doPrivileged(new PrivilegedAction<ALExtProcAddressTable>() { + public ALExtProcAddressTable run() { + final ALExtProcAddressTable alExtProcAddressTable = new ALExtProcAddressTable(); + if(null==alExtProcAddressTable) { + throw new RuntimeException("Couldn't instantiate ALExtProcAddressTable"); + } + alExtProcAddressTable.reset(ALImpl.alDynamicLookupHelper); + return alExtProcAddressTable; + } } ); +} + +public static ALExtProcAddressTable getALExtProcAddressTable() { return alExtProcAddressTable; } + |