< prev index next >

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

Print this page
rev 13766 : 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs

@@ -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 >