log.exiting("Main", "teardown");
log.exiting(this.getClass().getName(), "teardown");
  private void teardown()  {    log.entering("Main", "teardown");    if (providerInstalled)      {        final String providerName = provider.getName();        log.info("About to remove provider: " + providerName);        // remove it. again we need to override security checks        AccessController.doPrivileged(new PrivilegedAction()        {          public Object run()          {            Security.removeProvider(providerName);            return null;          }        });      }    log.exiting("Main", "teardown");  }