Skip to content

Commit

Permalink
Skip test with var below JDK 10
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Feb 5, 2025
1 parent 897ae57 commit 9c9bad0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/tests/all-systems/java8inference/Issue6346.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Uses var keyword... might impact the inference test.
// @below-java10-jdk-skip-test

import java.util.List;
import java.util.function.BiConsumer;
import java.util.function.Function;
Expand Down Expand Up @@ -89,5 +92,6 @@ abstract static class F<L extends A<L, ?>> {}

void f() {
var x = E.f(H.j(), H::h, I::n, H.Builder::i).g(I::k, I.Builder::l);
Object y = E.f(H.j(), H::h, I::n, H.Builder::i).g(I::k, I.Builder::l);
}
}

0 comments on commit 9c9bad0

Please sign in to comment.