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

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6, 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: