super(); dflt = System.getSecurityManager();
if (perm instanceof RuntimePermission && perm.getName().equals("preferences")) { throw new SecurityException(); } else if (dflt != null) { dflt.checkPermission(perm); }
if (perm instanceof RuntimePermission && perm.getName().equals("preferences")) { throw new SecurityException(); } else if (dflt != null) { dflt.checkPermission(perm, ctx); }
System.setSecurityManager(this);
System.setSecurityManager(dflt);