private static synchronized PermissionCache createSecurityManagerCache() { Integer key = getNextKey(); PermissionCache cache = new PermissionCache(key, null, null, protoPerms, null); return registerPermissionCache(cache); }
new PermissionCache(key, pcID, codesource, clazz, name); return registerPermissionCache(cache);
new PermissionCache(key, pcID, codesource, perms, name); return registerPermissionCache(cache);