If I add a shutdown hook to my Java program\'s runtime like so:
public class MyShutdownHook implements Runnable { @Override public void run(
Any time the JVM can exit gracefully, the shutdown hook is run. It is not run if: