RFR: 8370568: Refer to Thread.interrupted as "interrupted status" consistently [v3]
Pavel Rappo
prappo at openjdk.org
Wed Oct 29 10:26:00 UTC 2025
On Wed, 29 Oct 2025 09:39:55 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Hello Pavel, these changes look OK to me.
>
> Over time I think it will be harder to keep track or enforce this in code comments but I think it is easier to enforce for API specification text.
Moving from "interrupted" to "interrupt" was a slow drift rather than a landslide. I think it's okay to repair it once. _Loom_ is already in and once _structured concurrency_ is in, I don't expect many new occurrences of "interrupt" in the foreseeable future. But you are right, the important bit is the specification, not the code comments.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27972#issuecomment-3460767516
More information about the hotspot-gc-dev
mailing list