RFR: 8359919: Minor java.util.concurrent doc improvements [v8]
Alan Bateman
alanb at openjdk.org
Fri Jun 20 12:13:30 UTC 2025
On Thu, 19 Jun 2025 22:49:17 GMT, Doug Lea <dl at openjdk.org> wrote:
>> This collects miscellaneous open issues that can be resolved with documentation updates; each indicated by adding JDK issue numbers
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>
> Adding JDK-8333172 to doc improvements
src/java.base/share/classes/java/util/concurrent/TimeUnit.java line 402:
> 400: * or equal to zero, do not wait at all.
> 401: * @throws IllegalMonitorStateException if the current thread is not
> 402: * the owner of this object's monitor.
This should probably use "the object's monitor" rather than "the object's monitor" as "this" is the TimeUnit instance.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25880#discussion_r2158815125
More information about the core-libs-dev
mailing list