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

Extra comma in documentation of Thread#interrupt()

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • Verification:
      Verified

      Description

      A DESCRIPTION OF THE PROBLEM :
      The documentation for the Thread#interrupt() method contains the sentence "If this thread is blocked in an invocation of the wait(), wait(long), or wait(long, int) methods of the Object class, or of the join(), join(long), join(long, int), sleep(long), or sleep(long, int), methods of this class, then its interrupt status will be cleared and it will receive an InterruptedException."

      The comma after "sleep(long, int)," should be removed.

      See an example at https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#interrupt--


        Attachments

          Activity

            People

            Assignee:
            ewhelan Evan Whelan (Inactive)
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: