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

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

XMLWordPrintable

    • b19
    • x86
    • windows_xp
    • Not verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: