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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic



      Name: dbT83986 Date: 03/03/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)
      ======================================================================

            Unassigned Unassigned
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: