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

(thread spec) ThreadGroup.destroy() should mention destruction thread groups with an active thread

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      The spec for ThreadGroup.destroy() doesn't not specify what will happen if thread group contains subgroup or sequence of subgroups with active threads. It is unclear in which order the method traverse sequence of subgroups and which of them will not be destroyed.
      Besides it should be specified either any of subgroups will be destroyed if IllegalThreadStateException is thrown or such behavior is not defined.

      Attachments

        Activity

          People

            alanb Alan Bateman
            dmiltsov Dmitry Miltsov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: