// used to store Thread.stop() exceptions
Throwable stopException;
-
+
private volatile UncaughtExceptionHandler uncaughtExceptionHandler; // null by default
init0(this.group, target, this.name, stackSize);
initThreadLocals(cur);
+
+ // TODO: Fix for Groovy's model-checking
+ this.tid = this.getId();
}
+ private long tid;
+
// this takes care of ThreadInfo initialization
native void init0 (ThreadGroup group, Runnable target, String name, long stackSize);