setup(policy);
    public static void setPolicy(Policy policy) {        SecurityManager sm = System.getSecurityManager();        if (sm != null)                sm.checkPermission(new SecurityPermission("setPolicy"));        currentPolicy = policy;    }