public ProtectionDomain[] combine(
ProtectionDomain[] executionDomains,
ProtectionDomain[] parentDomains) {
calledDomainCombiner[i] = true;
PermissionCollection pc = new Permissions();
pc.add(new AllPermission());
ProtectionDomain pd;
// if run with the system classloader then there will be no
// execution domains
if (executionDomains.length > 0) {
pd = new ProtectionDomain(executionDomains[0]