jdk/test/java/util/concurrent/Executors/AutoShutdown.java
changeset 41131 87edc8451f8a
parent 36233 f85ed703cf7e
equal deleted inserted replaced
41130:2004bf22423f 41131:87edc8451f8a
    29  * @run main/othervm/timeout=1000 AutoShutdown
    29  * @run main/othervm/timeout=1000 AutoShutdown
    30  * @author Martin Buchholz
    30  * @author Martin Buchholz
    31  */
    31  */
    32 
    32 
    33 import static java.util.concurrent.Executors.defaultThreadFactory;
    33 import static java.util.concurrent.Executors.defaultThreadFactory;
    34 import static java.util.concurrent.Executors.newFixedThreadPool;
       
    35 import static java.util.concurrent.Executors.newSingleThreadScheduledExecutor;
       
    36 import static java.util.concurrent.Executors.newSingleThreadExecutor;
    34 import static java.util.concurrent.Executors.newSingleThreadExecutor;
    37 
    35 
    38 import static java.util.concurrent.TimeUnit.MILLISECONDS;
    36 import static java.util.concurrent.TimeUnit.MILLISECONDS;
    39 
    37 
    40 import java.lang.ref.WeakReference;
    38 import java.lang.ref.WeakReference;