From: Alexander Kriegisch Date: Fri, 8 Oct 2021 04:44:52 +0000 (+0200) Subject: Remove Java 8 from GitHub workflow (ECJ needs Java 11+) X-Git-Tag: V1_9_8_RC1~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f7b7843748366c7310b165b2c3fc088b2c65d245;p=aspectj.git 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 --- 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