RFR: 8371226: Thread class description needs section on Thread Interruption [v2]

Alan Bateman alanb at openjdk.org
Tue Nov 11 18:32:22 UTC 2025


On Tue, 11 Nov 2025 16:04:12 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> Alan Bateman has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - interrupt status -> interrupted status
>>  - Word smithing, mention throwing with IE as suppressed exception
>
> src/java.base/share/classes/java/lang/Thread.java line 202:
> 
>> 200:  *
>> 201:  * <p> Code that doesn't invoke any interruptible methods can still respond to interrupt
>> 202:  * by polling the current thread's interrupt status with
> 
> Suggestion:
> 
>  * by polling the current thread's interrupted status with

Well spotted.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28216#discussion_r2515236880


More information about the core-libs-dev mailing list