CompletableFuture eventual race condition

Francois Green at
Mon Jul 11 17:44:19 UTC 2016

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"))

would eventual fail to print if run enough times.  Is this true?

More information about the core-libs-dev mailing list