< prev index next >

src/share/classes/java/lang/Runtime.java

Print this page

        

@@ -270,10 +270,11 @@
     public void halt(int status) {
         SecurityManager sm = System.getSecurityManager();
         if (sm != null) {
             sm.checkExit(status);
         }
+        Shutdown.beforeHalt();
         Shutdown.halt(status);
     }
 
     /**
      * Enable or disable finalization on exit; doing so specifies that the
< prev index next >