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

concurrency - Thread.isInterrupted()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • docs
    • b01
    • generic
    • generic
    • Verified

      In the Sun-Oracle Java Tutorial: Thread Section:Interrupt(Interrupt Status Flag) Sub Section
      (Thread.isInterrupted()) is wrong. isInterrupted is a non Static Method.Can't be called in a static way.

      It must be (new Thread(). isInterrupted)

            jonathan Jonathan Knudsen (Inactive)
            skannan Sowmya Kannan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: