Why not try to create a sscce that demonstrates the problem? Your snippet looks like it ought to work.
On Mon, Jul 11, 2016 at 10:44 AM, Francois Green <francois.gr...@gmail.com> wrote: > I sorry for posting in list, but I need an authoritative answer. I was > told by one of the developers of another JVM (Ceylon) language that > > CompletableFuture.supplyAsync(() -> "Hejjo Worjd from Java") > .thenApply(s -> s.replaceAll("j","l")) > .thenAccept(System.out::println); > > would eventual fail to print if run enough times. Is this true? >