Skip to content

feat(dedup): support Java 27 apps with JaCoCo 0.8.16 - #204

Merged
slayerjain merged 2 commits into
mainfrom
chore/jacoco-0.8.16-next
Dec 4, 2026
Merged

slayerjain merged 2 commits into
mainfrom
chore/jacoco-0.8.16-next

Conversation

@slayerjain

Copy link
Copy Markdown
Member

Summary

Bumps bundled JaCoCo from 0.8.15 to 0.8.16 (shading ASM 9.11.1), raising keploy-sdk's official dynamic-dedup bytecode ceiling from Java 26 to Java 27 (class-file major 71) and enabling experimental Java 28 (major 72) bytecode support.

Changes

  • Bump <jacoco.version> in keploy-sdk/pom.xml from 0.8.15 to 0.8.16 (updates embedded io/keploy/dedup/jacocoagent.jar, shaded org.jacoco.core, and shaded ASM 9.11.1).
  • Update keploy-sdk/src/main/resources/META-INF/THIRD-PARTY-NOTICES.txt and README.md (including the "Raising it" lockstep guide and CI runtime list).
  • Recompute build-table golden build IDs (java-dedup.build, edge.build) for analyzer JaCoCo 0.8.16.
  • Add Java27BytecodeSupportTest (--release 8 compatible) verifying IndexReport.Analyzer.JACOCO == "0.8.16", Opcodes.V27 == 71, Opcodes.V28 == 72, and BuildTable.write + CoverageReporter.compute on synthesized Java 27 (major 71) bytecode.
  • Add scripts/smoke-jdk27.sh and the smoke-jdk27 job in .github/workflows/java-agent.yml (builds keploy-sdk on JDK 21, compiles and runs a major-71 branching app on Temurin 27 with embedded JaCoCo 0.8.16, asserting INDEX jacoco="embedded" / jacocoVersion="0.8.16", proto=3 ACK with background=true, identical branch probes, distinct branch probes, and zero classMismatch).

Live Adoptium JDK Runtime Matrix (0.8.15 / v2.3.3 vs 0.8.16 / HEAD)

Runtime Class Major v2.3.3 (0.8.15) HEAD (0.8.16)
Temurin 21 / 25 / 26 GA 65 / 69 / 70 PASS PASS
Temurin 27 GA (27.0.1.1+4) 71 Experimental only (flagged/rejected by k8s-proxy official ceiling 26) PASS (official)
Temurin 28 EA (28-beta+26-ea) 72 FAIL: silent zero coverage (Unsupported class file major version 72) PASS (experimental)

Verification

  • GPG-verified JaCoCo 0.8.16 artifacts (Evgeny Mandrikov A413 F67D 71BE EC23 ADD0 CE0A CB43 338E 060C F9FA) and ASM 9.11.1 artifacts (Eric Bruneton A5BD 02B9 3E7A 4048 2EB1 D66A 5F69 AD08 7600 B22C).
  • CI matrix (JDK 8, 11, 17, 21): release build, 472/472 unit tests, smoke-javaagent.sh, no-clean sha256sum -c reproducibility — PASS.
  • smoke-jdk27 (Temurin 21 build -> Temurin 27 runtime): PASS on HEAD, RED-FIRST FAIL on released v2.3.3.

JaCoCo 0.8.16 (released 2026-10-24, shading ASM 9.11.1) promotes Java 27
(class-file major 71) to official support and adds experimental Java 28
(major 72). Upgrading both the embedded jacocoagent.jar and shaded
org.jacoco.core raises keploy-sdk's official dynamic-dedup bytecode
ceiling from Java 26 to Java 27.

Changes:
- Bump <jacoco.version> in keploy-sdk/pom.xml from 0.8.15 to 0.8.16
  (brings in org.jacoco.agent 0.8.16, org.jacoco.core 0.8.16, and
  shaded ASM 9.11.1).
- Update keploy-sdk/src/main/resources/META-INF/THIRD-PARTY-NOTICES.txt
  and README.md to reflect JaCoCo 0.8.16, ASM 9.11.1, and Java 27.
- Update build-table golden build IDs (java-dedup.build, edge.build)
  for the new analyzer JaCoCo version string (0.8.16).
- Add Java27BytecodeSupportTest to assert IndexReport.Analyzer.JACOCO
  == 0.8.16, ASM Opcodes.V27/V28, and end-to-end BuildTable +
  CoverageReporter analysis on synthesized Java 27 (major 71) bytecode.
- Add scripts/smoke-jdk27.sh and a smoke-jdk27 CI job in
  .github/workflows/java-agent.yml that builds keploy-sdk on JDK 21 and
  runs a compiled major-71 app on Temurin 27 with embedded JaCoCo 0.8.16.

GPG-verified upstream JaCoCo 0.8.16 checksums (Evgeny Mandrikov key
A413 F67D 71BE EC23 ADD0 CE0A CB43 338E 060C F9FA):
- jacoco-0.8.16.zip:
  a7b90535b30a7159dab62d8db0b276ed1f7bc73b7c2354d314503cd34b9c00ba
- jacocoagent-0.8.16.jar!about.html:
  401279679e655c1293151bf25542e6248c78267173d54850a248e16f9a68cd69
- org.jacoco.core-0.8.16.jar!about.html:
  0a82979343673a6192d1993d53aa3fdaa22fb3c7608edbcde76862038dfe8ca3
- META-INF/THIRD-PARTY-NOTICES.txt:
  edcbcae6762e96a74cb34b1d8f6406ae6f935003094f71e09f145ee08f028d48

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
…7 smoke

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
@slayerjain slayerjain added the semver:minor Minor semver release label Dec 4, 2026
@slayerjain
slayerjain merged commit 1f5fd6e into main Dec 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:minor Minor semver release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant