RFR: 8277090 : jsr166 refresh for jdk19
Doug Lea
dl at openjdk.java.net
Mon May 2 12:58:02 UTC 2022
On Mon, 2 May 2022 10:42:35 GMT, Rémi Forax <forax at openjdk.org> wrote:
>> Most AutoCloseables do not mention this in class-level javadocs. Is there a reason you think this one should?
>
> close() is now equivalent to the method shutdownAndAwaitTermination() shown in the javadoc so i believe , replacing it with a try-with-resources is better in term of documenting how an executor service can be used
OK, done (see https://bugs.openjdk.java.net/browse/JDK-8285450)
-------------
PR: https://git.openjdk.java.net/jdk/pull/8490
More information about the core-libs-dev
mailing list