StrictMath.java: Typo fix.
* java/lang/StrictMath.java: Typo fix. * java/lang/Math.java: Typo fix. 2003-08-26 Stephen Crawley <crawley@dstc.edu.au> * java/lang/ThreadGroup.java (removeThread): null the 'group' field of the removed Thread. 2003-08-26 Mark Wielaard <mark@klomp.org> Reported by David Holmes <dholmes@dltech.com.au>. * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside Collections.synchronizedMap. * java/lang/ThreadLocal.java (valueMap): Likewise. From-SVN: r70828
This commit is contained in:
parent
228e7b6256
commit
777bb1d438
6 changed files with 35 additions and 13 deletions
|
@ -718,6 +718,7 @@ public class ThreadGroup
|
|||
if (groups == null)
|
||||
return;
|
||||
threads.remove(t);
|
||||
t.group = null;
|
||||
// Daemon groups are automatically destroyed when all their threads die.
|
||||
if (daemon_flag && groups.size() == 0 && threads.size() == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue