Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4495488

Document behaviour described in Bug #4197876

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • docs
    • generic
    • generic

      ###@###.### 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.

            shommel Scott Hommel (Inactive)
            mdevereuorcl Michelle Devereux (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: