RFR: JDK-8248772: Extra comma in documentation of Thread#interrupt()

Roger Riggs Roger.Riggs at oracle.com
Tue Sep 1 13:30:44 UTC 2020


Hi Evan,

Looks fine.

Thanks, Roger


On 9/1/20 9:14 AM, Evan Whelan wrote:
> Hi all,
>
>   
>
> This RFR is for a small change to fix a grammatical error in Thread#interrupt() docs.
>
>   
>
> JBS Link: https://bugs.openjdk.java.net/browse/JDK-8248772
>
> Patch seen below.
>
>   
>
> --- old/open/src/java.base/share/classes/java/lang/Thread.java       2020-09-01 13:00:37.913711118 +0000
>
> +++ new/open/src/java.base/share/classes/java/lang/Thread.java       2020-09-01 13:00:37.653697905 +0000
>
> @@ -952,7 +952,7 @@
>
>        * Object#wait() wait()}, {@link Object#wait(long) wait(long)}, or {@link
>
>        * Object#wait(long, int) wait(long, int)} methods of the {@link Object}
>
>        * class, or of the {@link #join()}, {@link #join(long)}, {@link
>
> -     * #join(long, int)}, {@link #sleep(long)}, or {@link #sleep(long, int)},
>
> +     * #join(long, int)}, {@link #sleep(long)}, or {@link #sleep(long, int)}
>
>        * methods of this class, then its interrupt status will be cleared and it
>
>        * will receive an {@link InterruptedException}.
>
>        *
>
> Thanks in advance,
>
> Evan Whelan



More information about the core-libs-dev mailing list