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

ThreadGroup::destroy may leave the thread group in an inconsistent state.

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      The issue may happen if ThreadGroup::destroy is called when one of its children still has active threads. In that case, destroy() will throw an IllegalStateException, but only after the group has been marked as destroyed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dfuchs Daniel Fuchs
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: