/** * Check and see if this set of permissions implies the permissions expressed in "permission". * * @param p the Permission object to compare * @return always returns true. */ public boolean implies(Permission permission) { return ((permission instanceof RuntimePermission && permission.equals(exitVMPermission)) ? false : all_allowed); }
public boolean implies(Permission p) { if (p instanceof RuntimePermission && p.equals(exitVMPermission)) { return false; } else return true; }