Main.restart();
restarting = true; try { Main.restart(); } finally { restarting = false; }
  synchronized public void update(InputStream in) throws BundleException {    framework.checkAdminPermission();    if(Framework.R3_TESTCOMPLIANT || "true".equals(System.getProperty("org.knopflerfish.framework.restart.allow", "true"))) {      Main.restart();    } else {      Main.shutdown(2);    }  }