[jdk17u-dev] RFR: 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out
Martin Doerr
mdoerr at openjdk.org
Thu Jun 13 13:48:13 UTC 2024
On Thu, 13 Jun 2024 07:27:02 GMT, Andrew Lu <andrewlu at openjdk.org> wrote:
> I backport this for parity with 17.0.13-oracle.
> ‘ try (var executor = Executors.newCachedThreadPool())’ is modified due to it's not supported in 17.
Ok, you had to replace the try-with-resource implementation because `ExecutorService` doesn't implement `AutoClosable` in 17u. LGTM.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR Review: https://git.openjdk.org/jdk17u-dev/pull/2577#pullrequestreview-2115855814
More information about the jdk-updates-dev
mailing list