commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #1731] [Patch #1731] Fix Thread/ThreadGroup behaviour


From: noreply
Subject: [patch #1731] [Patch #1731] Fix Thread/ThreadGroup behaviour
Date: Thu, 17 Jul 2003 12:40:07 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030704 Galeon/1.3.5 Debian/1.3.5.20030714-1

Patch #1731 has been updated. 

Project: 
Category: None
Status: Closed
Summary: Fix Thread/ThreadGroup behaviour

Follow-Ups:

Date: Tue 07/15/03 at 16:03
By: crawley

Comment:
This patches two bugs in Thread and ThreadGroup.  Firstly,
the group of an exited thread was not being nulled.  
Second, calling Thread.isDaemon() on an exited Thread
was throwing an exception.  [By contrast, JDK 1.3.1, 1.4.0
etcetera allow the isDaemon() call to proceed ... no matter
what the Sun JavaDoc seems to say!]

Changelog entries:

        * vm/reference/java/lang/Thread.java (setDaemon): 
          don't throw an exception when called on an exited Thread
        * java/lang/ThreadGroup.java (removeThread) :
          null the 'group' field of the removed Thread


-------------------------------------------------------

Date: Thu 07/17/03 at 18:40
By: mark

Comment:
Thanks. Checked and applied.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1731&group_id=85

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]