summaryrefslogtreecommitdiffstats
path: root/make/config/joal-alcabstract-CustomJavaCode.java
blob: debadad2b7bce5bf4948ed89ef67c273a7e2104a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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; }