From 20f8eb69d10eff2ae27577c5ab8e55676d235648 Mon Sep 17 00:00:00 2001 From: navaneethsnair1 Date: Mon, 22 Sep 2025 17:48:46 +0530 Subject: [PATCH] updates to 25.0.0.10-beta --- posts/2025-09-23-25.0.0.10-beta.adoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/posts/2025-09-23-25.0.0.10-beta.adoc b/posts/2025-09-23-25.0.0.10-beta.adoc index 4784b4d3e..8c29cf0df 100644 --- a/posts/2025-09-23-25.0.0.10-beta.adoc +++ b/posts/2025-09-23-25.0.0.10-beta.adoc @@ -138,23 +138,24 @@ When you use the `CompletableFuture` and `SubmissionPublisher` classes in Java 2 You can avoid this issue by using one of the following approaches: - . Use the `CompletableFuture` class provided in Liberty’s Jakarta Concurrency implementation, which does not have this limitation.You can use the `CompletableFuture` class with a link:https://www.ibm.com/docs/en/was-liberty/core?topic=manually-configuring-managed-executors[DefaultManagedExecutorService] instance and either the link:https://jakarta.ee/specifications/concurrency/3.1/apidocs/jakarta.concurrency/jakarta/enterprise/concurrent/managedexecutorservice#supplyAsync(java.util.function.Supplier)[supplyAsync] method or the runAsync method. + . Use the `CompletableFuture` class provided in Liberty’s Jakarta Concurrency implementation, which does not have this limitation. You can use the `CompletableFuture` class with a link:https://www.ibm.com/docs/en/was-liberty/core?topic=manually-configuring-managed-executors[DefaultManagedExecutorService] instance and either the link:https://jakarta.ee/specifications/concurrency/3.1/apidocs/jakarta.concurrency/jakarta/enterprise/concurrent/managedexecutorservice#supplyAsync(java.util.function.Supplier)[supplyAsync] method or the runAsync method. . Explicitly set the `ForkJoinPool.commonPool` parallelism value to whatever you need, `-Djava.util.concurrent.ForkJoinPool.common.parallelism=N` (where N is the minimum number of threads needed) . Explicitly set the `ForkJoinPool.commonPool` parallelism value to the desired number of threads by using the system property, `-Djava.util.concurrent.ForkJoinPool.common.parallelism=N` (where N is the minimum number of threads required). . Use an explicit backing `Executor`. For more information on this change, see the following links: -https://bugs.openjdk.org/browse/JDK-8362881 -https://bugs.openjdk.org/browse/JDK-8319447 -https://bugs.openjdk.org/browse/JDK-8360593 + +* https://bugs.openjdk.org/browse/JDK-8362881 +* https://bugs.openjdk.org/browse/JDK-8319447 +* https://bugs.openjdk.org/browse/JDK-8360593 Take advantage of the changes in Java 25 in Open Liberty now and get more time to review your applications, microservices, and runtime environments on your favorite server runtime! Just link:https://jdk.java.net/25/[download the latest release of Java 25], download and install the link:https://openliberty.io/downloads/#runtime_betas[25.0.0.10-beta] version of Open Liberty, edit your Liberty server's link:https://openliberty.io/docs/latest/reference/config/server-configuration-overview.html#server-env[server.env] file with JAVA_HOME set to your Java 25 installation directory and start testing! For more information on Java 25, see the Java 25 link:https://jdk.java.net/25/release-notes[release notes page], link:https://download.java.net/java/early_access/jdk25/docs/api/[API Javadoc page] or link:https://jdk.java.net/25/[download page]. -For more information on Open Liberty,see our link:https://openliberty.io/docs[documentation page]. +For more information on Open Liberty, see our link:https://openliberty.io/docs[documentation page]. // DO NOT MODIFY THIS LINE.