You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: posts/2025-09-23-25.0.0.10-beta.adoc
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,23 +138,24 @@ When you use the `CompletableFuture` and `SubmissionPublisher` classes in Java 2
138
138
139
139
You can avoid this issue by using one of the following approaches:
140
140
141
-
. 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.
141
+
. 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.
142
142
. 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)
143
143
. Explicitly set the `ForkJoinPool.commonPool` parallelism value to the desired number of threads by using the system property,
144
144
`-Djava.util.concurrent.ForkJoinPool.common.parallelism=N` (where N is the minimum number of threads required).
145
145
. Use an explicit backing `Executor`.
146
146
147
147
For more information on this change, see the following links:
148
-
https://bugs.openjdk.org/browse/JDK-8362881
149
-
https://bugs.openjdk.org/browse/JDK-8319447
150
-
https://bugs.openjdk.org/browse/JDK-8360593
148
+
149
+
* https://bugs.openjdk.org/browse/JDK-8362881
150
+
* https://bugs.openjdk.org/browse/JDK-8319447
151
+
* https://bugs.openjdk.org/browse/JDK-8360593
151
152
152
153
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!
153
154
154
155
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!
155
156
156
157
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].
157
-
For more information on Open Liberty,see our link:https://openliberty.io/docs[documentation page].
158
+
For more information on Open Liberty,see our link:https://openliberty.io/docs[documentation page].
0 commit comments