public Thread (ThreadGroup g, Runnable r, String n)
{
this (currentThread (), g, r, n);
-
- // The Class Libraries book says ``threadName cannot be null''. I
- // take this to mean NullPointerException.
- if (n == null)
- throw new NullPointerException ();
}
/**
{
// Just ignore stackSize for now.
this (currentThread (), g, r, n);
+ }
+ private Thread (Thread current, ThreadGroup g, Runnable r, String n)
+ {
// The Class Libraries book says ``threadName cannot be null''. I
// take this to mean NullPointerException.
if (n == null)
throw new NullPointerException ();
- }
-
- private Thread (Thread current, ThreadGroup g, Runnable r, String n)
- {
+
if (g == null)
{
// If CURRENT is null, then we are bootstrapping the first thread.