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

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

XMLWordPrintable

    • b40
    • generic
    • solaris_8

      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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: