fix member/parameter confusion in Thread::Thread()

This commit is contained in:
Joel Dice 2007-07-23 21:35:03 -06:00
parent 527f46d53d
commit ab47fa7884

View File

@ -1376,7 +1376,7 @@ Thread::Thread(Machine* m, object javaThread, Thread* parent):
builtin::populate(t, m->builtinMap);
javaThread = makeThread(t, 0, 0, reinterpret_cast<int64_t>(t));
t->javaThread = makeThread(t, 0, 0, reinterpret_cast<int64_t>(t));
} else {
threadPeer(this, javaThread) = reinterpret_cast<jlong>(this);
parent->child = this;