JDK-4495488 : Document behaviour described in Bug #4197876
  • Type: Enhancement
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2001-08-23
  • Updated: 2002-02-14
  • Resolved: 2002-02-14
Related Reports
Duplicate :  
Description
###@###.### 2001-08-23
Submitted on behalf of IBM. While they agree that the behaviour 
described in Bug #4197876 is not a bug, they would like it 
documented and have suggested that the following be added to the 
J2SE API documentation for the Thread class:

When a thread is created it is automatically added to a thread group.  
This allows threads to be run at a later stage without the need to 
explicitly store a reference to them.  Due to this a thread will not 
be garbage collected until its run() method has been executed."

The owner of this API, Josh Bloch, agrees with this approach.