Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions posts/2025-09-23-25.0.0.10-beta.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -138,24 +138,23 @@ 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. </GHA-BLOG-TOPIC>
Expand Down