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

(spec thread) Thread.enumerate() and Thread.activeCount() don't match ThreadGroup methods

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Not verified

      Backports

        Description

        Name: js151677 Date: 10/01/2004


        A DESCRIPTION OF THE PROBLEM :
        Thread.enumerate() does not discuss what happens if the array that is passed in is smaller than the number of threads being returned. Other details are missing too.

        The documentation for Thread.enumerate() should be identical to ThreadGroup.enumerate() which is more complete.


        URL OF FAULTY DOCUMENTATION :
        http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#enumerate(java.lang.Thread[])
        (Incident Review ID: 316083)
        ======================================================================
        ###@###.### 10/22/04 19:31 GMT
        Problems with Thread.activeCount doc are so similar to those of Thread.enumerate that this method's doc is being included in this bug fix.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chegar Chris Hegarty
                  Reporter:
                  jssunw Jitender S (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: