Please review this test fix for a race condition checking that the onExit CompletableFuture was completed and with the correct value. Webrev: http://cr.openjdk.java.net/~rriggs/webrev-onexit-8085981/ Issue: https://bugs.openjdk.java.net/browse/JDK-8085981 Thanks, Roger