completablefuture-utils, an open source Java concurrency library
Senior Principal Software Engineer · Dell Technologies
Wrote and maintain an open source library that makes Java's executor services return CompletableFutures, and modernized it for Java 25.
Impact
- Every ExecutorService and ScheduledExecutorService method returns a CompletableFuture, without extra threads polling for completion
- Adds what the JDK still lacks, such as cancellation pass-through and periodic scheduling that returns a CompletableFuture
- Modernized for Java 25 in November 2026 with Claude Code, fixing two failure-handling bugs and growing the suite to 20 tests
Technologies
I wrote completablefuture-utils as an early adopter of
CompletableFuture. It wraps ExecutorService and ScheduledExecutorService so that every task you submit or schedule
comes back as a CompletableFuture you can compose.
In November 2026 I dusted it off for Java 25
with Claude Code. I moved the build from Gradle 4.10.2 to 9.9.1 with a Java 25 toolchain and updated JUnit, Mockito, and
JaCoCo. I fixed wrappers that left a future hanging when a task threw an Error, and made periodic tasks stop and
complete exceptionally on their first failure, matching ScheduledExecutorService. I added tests for both.