From 46283f6297b3226c88f1c5e5a0419a4fe9f7eed6 Mon Sep 17 00:00:00 2001 From: Nicolas Baumann Date: Thu, 22 Oct 2026 08:14:17 +0200 Subject: [PATCH] Skip JaCoCo on the Java 28-ea build JaCoCo 0.8.15 fails to instrument the JDK classes of Java 28 (Unsupported class file major version 72), which fails the experimental build (28-ea) in BCELifierTest. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/maven.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0131abc24b..0c5a1eb1d2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -39,6 +39,8 @@ jobs: - java: 28-ea os: ubuntu-latest experimental: true + # JaCoCo cannot instrument the class files of Java 28 yet (unsupported class file major version 72) + maven-args: -Djacoco.skip=true steps: - name: Prepare git @@ -58,4 +60,4 @@ jobs: distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }} java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn --errors --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false + run: mvn --errors --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false ${{ matrix.maven-args }}