From 15fafb576d4588af3ba34788b5bb230a2679c383 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Wed, 9 Mar 2022 17:31:28 +0100 Subject: [PATCH] Fix the Java 8 CI This disables the test added in #14643 which broke the CI because it requires Java 9+ and unfortunately we don't have a way to selectively run tests on specific Java versions currently. --- tests/disabled/pos/i12956.java | 5 +++++ tests/pos/i12956.java | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 tests/disabled/pos/i12956.java delete mode 100644 tests/pos/i12956.java diff --git a/tests/disabled/pos/i12956.java b/tests/disabled/pos/i12956.java new file mode 100644 index 000000000000..dc539ebbd7f3 --- /dev/null +++ b/tests/disabled/pos/i12956.java @@ -0,0 +1,5 @@ +// Disable because it requires Java 9+ but our CI still runs on Java 8 and our +// testing infrastructure doesn't let us run a test only on Java 9+. +interface Foo { + private void bar() {} +} diff --git a/tests/pos/i12956.java b/tests/pos/i12956.java deleted file mode 100644 index b29796d48b71..000000000000 --- a/tests/pos/i12956.java +++ /dev/null @@ -1,3 +0,0 @@ -interface Foo { - private void bar() {} -}