SecurityManager sm = Runtime.securityManager;
SecurityManager sm = SecurityManager.current;
  public static String getProperty(String key)  {    SecurityManager sm = Runtime.securityManager; // Be thread-safe.    if (sm != null)      sm.checkPropertyAccess(key);    else if (key.length() == 0)      throw new IllegalArgumentException("key can't be empty");    return properties.getProperty(key);    }