From f7b7843748366c7310b165b2c3fc088b2c65d245 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 8 Oct 2021 06:44:52 +0200 Subject: [PATCH] Remove Java 8 from GitHub workflow (ECJ needs Java 11+) Since JDT Core 3.27 (Java 17) and Eclipse 2021-09 (4.21), respectively, ECJ no longer works on JDK 8. Even if we backport JDT Core classes, some of its dependencies contain Java 11 class files, which ultimately also means that ACJ no longer works below JDK 11 due to those transitive dependencies, e.g. org.eclipse.core.resources-3.14.0.jar. For now, I added JDK 14 to the build matrix, i.e. we currently have 11, 14, 17. When JDK 18 is released, we can switch to 11, 17, 18, i.e. keep the two LTS releases plus the latest one. Signed-off-by: Alexander Kriegisch --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 818c24f32..546d4286b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11, 17 ] + java: [ 11, 14, 17 ] steps: - uses: actions/checkout@v2 -- 2.39.5