jdk/src/share/classes/java/lang/Thread.java
/**
* Allocates a new {@code Thread} object. This constructor has the same
* effect as {@linkplain #Thread(ThreadGroup,Runnable,String) Thread}
* {@code (null, null, gname)}, where {@code gname} is a newly generated
* name. Automatically generated names are of the form
* {@code "Thread-"+}<i>n</i>, where <i>n</i> is an integer.
*/
public Thread() {
{- -------------------------------------------
(1) java.lang.Thread.init() を呼び出すだけ.
---------------------------------------- -}
init(null, null, "Thread-" + nextThreadNum(), 0);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.