I get a different output from the same code snippet under different minor version of java. I was not able to find the related ticket on the open jdk bug tracker. 

```
CompletableFuture<String> completableFuture = new CompletableFuture<>();
completableFuture.complete("xxx");

completableFuture.thenCompose(str -> {
    CompletableFuture<String> completableFuture1 = new CompletableFuture<>();
    completableFuture1.completeExceptionally(new Exception("hello"));
    return completableFuture1;
}).exceptionally(ex -> {
    System.out.println(ex.getMessage());
    return null;
}).get();

```

Output under JDK 1.8.0\_25:

> 
> hello
> 
> 
> 

Output under JDK 1.8.0\_102:

> 
> java.lang.Exception: hello
> 
> 
> 

Is the newer one a fix or a regression? What is the related ticket?