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

(thread) Thread.destroy should be deprecated

XMLWordPrintable

    • b40
    • x86, sparc
    • solaris_2.6, windows_2000

      The method Thread.destroy has been unimplemented since 1.0. The only value it
      has right now is to destroy the *invoking* thread, which can be done more
      reasonably, and so this is a thin excuse indeed. We should deprecate this
      method as a form of public hygiene -- better the ignorant user get a compiler
      warning (with encouragement to remove it) than it blow up later at runtime
      in the field.

            martin Martin Buchholz
            karnoldsunw Kenneth Arnold (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: