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

(thread) Thread spec doesn't document that threads can't be restarted

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      When managing a pool of threads, it would be nice if threads could
      terminate and then be restarted with different work to perform.
      The Thread documentation doesn't clearly describe the Thread lifecycle
      state diagram, but experimentation shows that threads can't be
      restarted.

      In addition to describing the state diagram clearly, the implementation
      should throw appropriate exceptions when attempting to make illegal
      state transitions (e.g., start a terminated thread).

        Attachments

          Activity

            People

            Assignee:
            martin Martin Buchholz
            Reporter:
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: