On Fri, 24 Oct 2025 09:45:38 GMT, Pavel Rappo <[email protected]> wrote:
> Throughout documentation and source code, the `Thread.interrupted` flag is
> referred to as either "interrupt**ed** 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 the "Java Concurrency in
> Practice" book. ("The Java Programming Language" calls it "interrupted
> **state**".) However, over the years "interrupt status" appeared in
> documentation and source code through networking and NIO classes.
This pull request has now been integrated.
Changeset: 28f2591b
Author: Pavel Rappo <[email protected]>
URL:
https://git.openjdk.org/jdk/commit/28f2591bad49c4d1590325c3d315d850ab6bcc7d
Stats: 260 lines in 77 files changed: 4 ins; 0 del; 256 mod
8370568: Refer to Thread.interrupted as "interrupted status" consistently
Reviewed-by: jpai, rriggs, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/27972