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

int ThreadGroup.enumerate(Thread[]) should be Thread[] ThreadGroup.getChildTh...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: dbT83986 Date: 03/04/99


      The method enumerate of the class java.lang.ThreadGroup
      to retreive the children-Thread/ThreadGroups should not
      take an array in which to store the information as an argument.

      I can't see the reason for forcing the programme to handle one more
      Thread[] or ThreadGroup[] object. A clean design for this
      function would be imho

      java.lang.ThreadGroup[] getChildThreadGroups();
      same for Thread[] getChildThreads();

      probably I overlooked something..I would really like to know
      if this happened, so please drop me a line.
      (Review ID: 53094)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjb Josh Bloch
              Reporter:
              dblairsunw Dave Blair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: