< prev index next >

src/share/classes/java/lang/ApplicationShutdownHooks.java

Print this page

        

*** 100,110 **** for (Thread hook : threads) { hook.start(); } for (Thread hook : threads) { try { hook.join(); ! } catch (InterruptedException x) { } } } } --- 100,114 ---- for (Thread hook : threads) { hook.start(); } for (Thread hook : threads) { + while (true) { try { hook.join(); ! break; ! } catch (InterruptedException ignored) { ! } ! } } } }
< prev index next >