SecurityManager sm = Runtime.securityManager;
SecurityManager sm = SecurityManager.current;
  public static Properties getProperties()  {    SecurityManager sm = Runtime.securityManager; // Be thread-safe.    if (sm != null)      sm.checkPropertiesAccess();    return properties;        }