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

Description of important side effect of Thread.interrupted() is omitted.

XMLWordPrintable

    • kestrel
    • sparc
    • solaris_2.5



      Name: akC45999 Date: 06/09/97



      The Java Language Specification, chapter 20 The Package java.lang,
      Section 20.20.32 isInterrupted() and section 20.20.33 static interrupted()
      look identical. But Sun's implementation of the API of these
      methods is different: interrupted() also cleans the interruption flag.
      This behaviour looks reasonable, so subcategory of this bug
      is doc and not api.

      ======================================================================

            gbrachasunw Gilad Bracha (Inactive)
            rfqsunw Rfq Rfq (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: