Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256643 Terminally deprecate ThreadGroup stop, destroy, isDestroyed, setDaemon and isDaemon
  3. JDK-8256652

Release Note: Terminally Deprecated ThreadGroup stop, destroy, isDestroyed, setDaemon and isDaemon

    XMLWordPrintable

    Details

    • Subcomponent:
    • Verification:
      Verified

      Description

      The `stop`, `destroy`, `isDestroyed`, `setDaemon` and `isDaemon` methods defined by `java.lang.ThreadGroup` have been terminally deprecated in this release.

      `ThreadGroup::stop` is inherently unsafe and has been deprecated since Java 1.2. The method is now terminally deprecated and will be removed in a future release.

      The API and mechanism for destroying a ThreadGroup is inherently flawed. The methods that support explicitly or automatically destroying a thread group have been terminally deprecated and will be removed in a future release.

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: