ThreadGroup.java (add(Thread)): Rename to addThread() to comply with classpath VM spec.

2000-06-21  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to
	comply with classpath VM spec.
	(add(Group)): Rename to addGroup().
	* java/lang/Thread.java (Thread): Use addThread().
	* java/lang/natThread.cc (finish_): Use removeThread().

From-SVN: r34627
This commit is contained in:
Bryce McKinlay 2000-06-21 04:55:35 +01:00
parent 063a4b851f
commit 0ee935e162
4 changed files with 42 additions and 17 deletions

View file

@ -175,7 +175,7 @@ java::lang::Thread::finish_ ()
{
natThread *nt = (natThread *) data;
group->remove (this);
group->removeThread (this);
#ifdef ENABLE_JVMPI
if (_Jv_JVMPI_Notify_THREAD_END)