示例

public static class ICThread extends Thread {
public void run() {
System.out.println( System.currentTimeMillis() );
}
}

public static void main( String[] args ) {
(new ICThread()).start();
}

解决方案
更改为实施 Runnable,来代替扩展 Thread

public static class ICRunnable implements Runnable {
public void run() {
System.out.println( System.currentTimeMillis() );
}
}

public static void main( String[] args ) {
(new Thread( new ICRunnable() )).start();
}