summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/MissedSiteSubstitutorDuringDeepAdditionalConstraintsGathering.java
blob: b28c93de915dd37b209c9808d2c230f41561f198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.concurrent.CompletableFuture;

class CompletableFutureTest {

  void foo(CompletableFuture<String> future3, CompletableFuture<String> future1) throws Exception {
    onFailure(future1.thenApply(v -> future3));
  }

  private static <T1> CompletableFuture<T1> onFailure(CompletableFuture<T1> future) {
    return null;
  }
}