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

Refer to Thread.interrupted as "interrupted status" consistently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • core-libs
    • None

      Throughout documentation, code comments and tests, the Thread.interrupted flag is referred to as either "interrupted status" or "interrupt status". It might be good to be consistent.

      Historically, it seems to have initially been "interrupted status". This is how the flag is called in java.lang.Thread and books such as Java Concurrency in Practice. However, over the years "interrupt status" appeared in networking and NIO classes.

            prappo Pavel Rappo
            prappo Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: