Searched refs:addShutdownHook (Results 1 – 6 of 6) sorted by relevance
55 Runtime.getRuntime().addShutdownHook(this); in test_addShutdownHook()64 Runtime.getRuntime().addShutdownHook(thrException); in test_addShutdownHook()70 Runtime.getRuntime().addShutdownHook(thrException); in test_addShutdownHook()404 Runtime.getRuntime().addShutdownHook(this); in test_removeShutdownHookLjava_lang_Thread()412 Runtime.getRuntime().addShutdownHook(thr1); in test_removeShutdownHookLjava_lang_Thread()430 Runtime.getRuntime().addShutdownHook(thr2); in test_removeShutdownHookLjava_lang_Thread()
40 Runtime.getRuntime().addShutdownHook(new Thread() {
49 public void addShutdownHook(java.lang.Thread hook) { in addShutdownHook() method in Runtime
275 public void addShutdownHook(Thread hook) { in addShutdownHook() method in Runtime
423 Runtime.getRuntime().addShutdownHook(new Thread() {
250 Runtime.getRuntime().addShutdownHook(new Cleaner()); in LogManager()