public ProtectionDomain(CodeSource code_source, PermissionCollection perms) { this.code_source = code_source; this.perms = perms; if (perms != null) perms.setReadOnly(); }
public ProtectionDomain(CodeSource codesource, PermissionCollection permissions) { this(codesource, permissions, null, null, true); }
    public ProtectionDomain(CodeSource code_source, PermissionCollection perms) {        this.code_source = code_source;        this.perms = perms;        if (perms != null) perms.setReadOnly();    }