aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/joal-alcabstract-CustomJavaCode.java
blob: aaa646436afa1d846b3a7f7183761bad0b9c9125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
                                    /** Not required nor forced
                                    if( !initializeImpl() ) {
                                        throw new RuntimeException("Initialization failure");
                                    } */
                                    return alcProcAddressTable;
                                } } );
}

public static ALCProcAddressTable getALCProcAddressTable() { return alcProcAddressTable; }