[SPARK-60815] Upgrade JaCoCo to 0.8.16 for Java 27 #992
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 347 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #992"
general
weight: 0.35
peter-toth
What changes were proposed in this pull request?
This PR aims to upgrade
JaCoCoto 0.8.16.gradle/libs.versions.toml:jacoco0.8.14 -> 0.8.16gradle/verification-metadata.xml: regenerated from scratch. Only the JaCoCo artifacts and their ASM dependencies (asm,asm-bom,asm-commons, andasm-tree, 9.9 -> 9.11.1) changed.Why are the changes needed?
To support the JDK 27 test toolchain officially and remove the JaCoCo agent exceptions from the unit test output.
JaCoCo 0.8.14 cannot read class files of major version 71, so it logs
IllegalClassFormatExceptioncaused byUnsupported class file major version 71while instrumenting JDK classes (e.g.java.net.http,jdk.httpserver, andsun.security.pkcs11) and classes generated by Mockito. The tests still pass, but the output contains hundreds of stack traces.- Official support for Java 27 (#2287)
- Experimental support for Java 28 class files (#2170, #2189)
- Classes loaded by the platform class loader are instrumented only with the agent option
inclbootstrapclasses=true(#2155)- ASM 9.11.1 (#2299, #2304)
- Official support for Java 26 (#2076)
- Experimental support for Java 27 class files (#2004)
- ASM 9.10.1 (#2134)
Does this PR introduce _any_ user-facing change?
No. JaCoCo is used only for the unit tests and is not included in the operator distribution.
How was this patch tested?
Pass the CIs. In addition, the following passed locally on the JDK 27 test toolchain.
The number of
Unsupported class file major version 71occurrences in<module>/build/test-results/test/*.xmlwas measured before and after this PR.| Module | Before (0.8.14) | After (0.8.16) | Tests |
|---|---|---|---|
|
spark-operator-api| 0 | 0 | 66 ||
spark-submission-worker| 1 | 0 | 40 ||
spark-operator| 359 | 0 | 692 |All 798 tests passed, and the coverage totals of
jacocoTestReportare identical before and after this PR in all three modules.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5