Repository navigation
Commit 317d93f
authored
chore(dedup): bump shaded jacoco.core to 0.8.15 to raise the Java ceiling (#186)
The ASM shaded into keploy-sdk.jar comes from this dependency, and it is an
independent ceiling on the bytecode dynamic dedup can instrument — separate from
the jacocoagent.jar in k8s-proxy's init image. While it sat on 0.8.12 it was the
LOWER of the two, so it, not the agent, is what capped dedup at Java 22.
Measured by building this module both ways and reading the shaded ASM out of
each jar:
jacoco.core 0.8.12 -> ASM declares V23 (JaCoCo officially supports Java 22)
jacoco.core 0.8.15 -> ASM declares V27 (JaCoCo officially supports Java 26)
The 0.8.12 row reproduces the "tops out at Opcodes.V23" note k8s-proxy carried,
and shows why it was read one version too high: the highest version ASM DECLARES
is its experimental one, which sits a release ahead of what it accepts by default.
With this, the SDK's shaded ASM matches the agent's (both V27 / Java 26), so once
a release carrying it is pinned as KEPLOY_SDK_VERSION, k8s-proxy can raise
dedupinject.SDKShadedASMMaxJava to 26 and the effective ceiling —
min(JaCoCoOfficialMaxJava, SDKShadedASMMaxJava) — becomes Java 26.
Build and the module's tests pass unchanged against 0.8.15.
Signed-off-by: Shubham Jain <shubham@keploy.io>1 parent 87a449c commit 317d93f
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
0 commit comments