This is an automated email from the ASF dual-hosted git repository.

dongjoon-hyun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new fc9efeb3 [SPARK-60815] Upgrade JaCoCo to 0.8.16 for Java 27
fc9efeb3 is described below

commit fc9efeb3bc5a3ec3c9aacfe4a4b009eb6fd76059
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Nov 2 12:01:42 2026 -0800

    [SPARK-60815] Upgrade JaCoCo to 0.8.16 for Java 27
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `JaCoCo` to 0.8.16.
    
    - `gradle/libs.versions.toml`: `jacoco` 0.8.14 -> 0.8.16
    - `gradle/verification-metadata.xml`: regenerated from scratch. Only the 
JaCoCo artifacts and their ASM dependencies (`asm`, `asm-bom`, `asm-commons`, 
and `asm-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 
`IllegalClassFormatException` caused by `Unsupported class file major version 
71` while instrumenting JDK classes (e.g. `java.net.http`, `jdk.httpserver`, 
and `sun.security.pkcs11`) and classes generated by Mockito. The tests still 
pass, but the output contains hundreds of stack traces.
    
    - [JaCoCo 0.8.16](https://github.com/jacoco/jacoco/releases/tag/v0.8.16) 
(2026-10-26)
      - Official support for Java 27 
([#2287](https://github.com/jacoco/jacoco/issues/2287))
      - Experimental support for Java 28 class files 
([#2170](https://github.com/jacoco/jacoco/issues/2170), 
[#2189](https://github.com/jacoco/jacoco/issues/2189))
      - Classes loaded by the platform class loader are instrumented only with 
the agent option `inclbootstrapclasses=true` 
([#2155](https://github.com/jacoco/jacoco/issues/2155))
      - ASM 9.11.1 ([#2299](https://github.com/jacoco/jacoco/issues/2299), 
[#2304](https://github.com/jacoco/jacoco/issues/2304))
    - [JaCoCo 0.8.15](https://github.com/jacoco/jacoco/releases/tag/v0.8.15) 
(2026-06-05)
      - Official support for Java 26 
([#2076](https://github.com/jacoco/jacoco/issues/2076))
      - Experimental support for Java 27 class files 
([#2004](https://github.com/jacoco/jacoco/issues/2004))
      - ASM 9.10.1 ([#2134](https://github.com/jacoco/jacoco/issues/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.
    
    ```bash
    gradle cleanTest build jacocoTestReport spotlessCheck --refresh-dependencies
    ```
    
    The number of `Unsupported class file major version 71` occurrences in 
`<module>/build/test-results/test/*.xml` was 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 `jacocoTestReport` are 
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
    
    Closes #992 from dongjoon-hyun/SPARK-60815.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 gradle/libs.versions.toml        |  2 +-
 gradle/verification-metadata.xml | 82 ++++++++++++++++++++--------------------
 2 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e5c98b26..53beae3d 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -30,7 +30,7 @@ slf4j = "2.0.19"
 
 # Test
 junit = "6.1.3"
-jacoco = "0.8.14"
+jacoco = "0.8.16"
 mockito = "5.24.0"
 awaitility = "4.3.0"
 
diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index 208f3527..5692689b 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -2965,41 +2965,41 @@
             <sha512 
value="b5b82c4333bf8b882286a6f8470f6a8c9eabe1a3e89353e9b744010ea2f64345815b6999d3c6eaeb44f3308280a9062ab2a770985ba45b445506659d331bc145"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.jacoco" name="org.jacoco.agent" version="0.8.14">
-         <artifact name="org.jacoco.agent-0.8.14.jar">
-            <sha512 
value="01b6bedbc736f2e7350c2046b96861556d39552322758eaa874bbcca479d66c19621755ed98d80df3e80d77a48eb1713ec0dc771c4b481893b9307748cbbe756"
 origin="Generated by Gradle"/>
+      <component group="org.jacoco" name="org.jacoco.agent" version="0.8.16">
+         <artifact name="org.jacoco.agent-0.8.16.jar">
+            <sha512 
value="d0866de609401c25e778d2246242d5e4296918426db8e7fe2d5130c2515c0a9b8515d1d58e13887f9e9b992a89f4ed43a9c3557ef8943fd63bb18be509e3837d"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="org.jacoco.agent-0.8.14.pom">
-            <sha512 
value="c607dc24469e6c2ee888b4295fa24a2e5de3b75892b4d55be59e81bb096399dd9e308cbc313588dafca413b8c35bbd8930abb96eadeadda16b69c7fbe07ff9b7"
 origin="Generated by Gradle"/>
+         <artifact name="org.jacoco.agent-0.8.16.pom">
+            <sha512 
value="e351b99a142becdbfd7c1d07595f09940712ef3d5a6459635d9ce8c37e06d80cfe671a2079ca5afb69735a3e14619823031ff6010326fd01eaf173da37f46815"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.jacoco" name="org.jacoco.ant" version="0.8.14">
-         <artifact name="org.jacoco.ant-0.8.14.jar">
-            <sha512 
value="d51e08c8735a1310de5689844214ee592bb1ca93064675d1c27e47e01c3a397aed9083e54ee26c3e9b430e40681043095ee10022d59af0239900af7b6e2bea93"
 origin="Generated by Gradle"/>
+      <component group="org.jacoco" name="org.jacoco.ant" version="0.8.16">
+         <artifact name="org.jacoco.ant-0.8.16.jar">
+            <sha512 
value="738ebe2cc60014c1c454b470017993b96afb0301a1aa98c85e7b506bb0de9919fc2753a6fe527401bdd15046fb71192d05641c643a494c4fd2ec7020c49412f2"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="org.jacoco.ant-0.8.14.pom">
-            <sha512 
value="8990626bd78a7533377a34ab26d37fb4ef9a0f09f7e48a53614d24b2fa37189e71a15fd3284773f5f23d5bc947a84a6423dfc102eb990b2485d49c0d5cce0336"
 origin="Generated by Gradle"/>
+         <artifact name="org.jacoco.ant-0.8.16.pom">
+            <sha512 
value="283429d132f88ef79022d8e017d4424893ecb354499ed4d99578f33f0af6a5d6be50776a8bf5b23cf763b4f019ed548387c65c54573ab2369e4b1f15d86d1ba7"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.jacoco" name="org.jacoco.build" version="0.8.14">
-         <artifact name="org.jacoco.build-0.8.14.pom">
-            <sha512 
value="033585574e47252960b47de919eea60730fb35d035f5dccbb9af9151f5d9dcc27e60a70af5ab604247cd4b8675cdab352a20f1cd44ac1f468542e1b82c5b6276"
 origin="Generated by Gradle"/>
+      <component group="org.jacoco" name="org.jacoco.build" version="0.8.16">
+         <artifact name="org.jacoco.build-0.8.16.pom">
+            <sha512 
value="28722b1e7f70227849d7d26fed709a51a62c0c87ed461b57b531cb3bb7446ae59d1ff3fc9d9e60c7765f47b4318e13e888f4dd5b677feeae08d400da22471884"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.jacoco" name="org.jacoco.core" version="0.8.14">
-         <artifact name="org.jacoco.core-0.8.14.jar">
-            <sha512 
value="3af7632e45398541202f3c1073978fdb54bad3dbb07c1a7c2bc412c060d148c1877bfb5d697674c22acd57dee9811e64f5a3113b79f275bc71b87876ff882faf"
 origin="Generated by Gradle"/>
+      <component group="org.jacoco" name="org.jacoco.core" version="0.8.16">
+         <artifact name="org.jacoco.core-0.8.16.jar">
+            <sha512 
value="be869a1b8737f24a61adca7d01edf95ebb1fa8bc291a881016ca0729f5113301d33453d0616269fd74a6a0a591e5760e4e4de0526d42c57e644a0534b9178121"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="org.jacoco.core-0.8.14.pom">
-            <sha512 
value="9b9b98f9747b6ea36f9d117449f60eaa3a7db763dbb6f8bde5798af35d6a2deb0ba98b0393d4e4b046b12436ca9908a3e661907904799987f57329a553735179"
 origin="Generated by Gradle"/>
+         <artifact name="org.jacoco.core-0.8.16.pom">
+            <sha512 
value="f0b131903f130657b0afdb9e4a1f7d2ca6a0e4db68eb2035847d5ff8f4aabbcdcb6cfe2b67862751135f595cd48a053958388c578543b7ccb6b7db2618bb8344"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.jacoco" name="org.jacoco.report" version="0.8.14">
-         <artifact name="org.jacoco.report-0.8.14.jar">
-            <sha512 
value="ea4c40c7240bea5148dc415078a71d5a5ae767a8ad945fca068aac2f765ab3f6191ed29575930fbf44e4919be4f4a8dce914f3bb62af6cbe0d5761c5237090ed"
 origin="Generated by Gradle"/>
+      <component group="org.jacoco" name="org.jacoco.report" version="0.8.16">
+         <artifact name="org.jacoco.report-0.8.16.jar">
+            <sha512 
value="5413e95efd5a49680f085081e6063f2a1654dfe61f93588dd87acef737445aafc6d18a83e99c1e84030e87e113a411afec098a2ef1e0e015591bc6d64cd98f41"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="org.jacoco.report-0.8.14.pom">
-            <sha512 
value="a295d0c78debcecba7b0ccb079b2b82d80e4f327f9ce4efe0dbb5bf78a3919217081ba236f95115860d924e6607b0e0ba70e713b0b98f855fb6ca1175a165b4d"
 origin="Generated by Gradle"/>
+         <artifact name="org.jacoco.report-0.8.16.pom">
+            <sha512 
value="88c4694c7364ade8206b091abcc7702ee789470699fe6ed46aec110c49135b80d802d7c095b0769ff700156d4ab9c5e8bc4cbcbdc850b5a231e38f0e2a0cf7cc"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
       <component group="org.javassist" name="javassist" version="3.28.0-GA">
@@ -3386,12 +3386,12 @@
             <sha512 
value="fd8ef0f1cccc04c28c5c05cb3d4e92b92fb92659070e42188062150a99efc38b8eee5a4bfd3f88807f72a594f2864097c87c237ddbc88f6c8107914d79a348c8"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.ow2.asm" name="asm" version="9.9">
-         <artifact name="asm-9.9.jar">
-            <sha512 
value="197a4fb3ecb34d05ac555c6a510e69affcb1e476f24c5e935ad513ecdabf74b45aa1b0e0b25dbe91224fc6db7959b2677ea5876ee49e7487265e2a29c560c21c"
 origin="Generated by Gradle"/>
+      <component group="org.ow2.asm" name="asm" version="9.11.1">
+         <artifact name="asm-9.11.1.jar">
+            <sha512 
value="c31cb163f4a86df9f85e6ceeabb0f672080e1aed64c50aeffb84d5adadde7ad19ec3d3e01b8adfc29677d7a5f2ce5a182e4c593fba72626bf9c2d6d7c36640af"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="asm-9.9.pom">
-            <sha512 
value="201409cd84e380484657fbff4da7d1a0f24a6135010b307289947d9279dae399c7eb2516a822e0d6cd06371ae609806e1c5cfbd5401535da41294bf4fc811a40"
 origin="Generated by Gradle"/>
+         <artifact name="asm-9.11.1.pom">
+            <sha512 
value="647497bf909d83a1283b2e5576287a604a5662412a458fefdb451e92b9ae3e18108fc61e34a16e6282301e112d09841511001926ef5f6e12ff77926cf24842d6"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
       <component group="org.ow2.asm" name="asm" version="9.9.1">
@@ -3410,9 +3410,9 @@
             <sha512 
value="63b4a577a2ad700b1cbdcc8d8737b7c6da88b51f422050e72543af18ce1c816f95af89698ff213531956fe1748dc530ddc5ec2660ef4367c8640267c08055ae3"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.ow2.asm" name="asm-bom" version="9.9">
-         <artifact name="asm-bom-9.9.pom">
-            <sha512 
value="900b83b26435318bfcd5b5c522d3d51fd8f809453a66c16cfbbf687f8d8c185f53ff9d10bcaa4e315069c41dcedfd32e53c7d13b31ee690b30d31a2f7d27912c"
 origin="Generated by Gradle"/>
+      <component group="org.ow2.asm" name="asm-bom" version="9.11.1">
+         <artifact name="asm-bom-9.11.1.pom">
+            <sha512 
value="e82563ea959204469025eea3cfb6f2b2b7184acd47ff2265b4bfdc90d8aa35abad7cccf27a3adab90832a090b3d2eedfa71807a106622d98c91c5427488967e5"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
       <component group="org.ow2.asm" name="asm-commons" version="9.11">
@@ -3423,12 +3423,12 @@
             <sha512 
value="0e58d0d9e69b70daf2d2e326529768331034ae6f21c2b06bc1db1d829bec16e347ddb037535bceba51c310d5540ec0d5e02b0c8ff6932e7084cd47854e27667b"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.ow2.asm" name="asm-commons" version="9.9">
-         <artifact name="asm-commons-9.9.jar">
-            <sha512 
value="4949cde2b51e5d171d0ff02ebd1f9f7f111bf538c8bfd62f139364181ee4bebd6598949d895f1c78daaba6dd1da4e564fab10e602cfe297915cd0287f8c2f1d5"
 origin="Generated by Gradle"/>
+      <component group="org.ow2.asm" name="asm-commons" version="9.11.1">
+         <artifact name="asm-commons-9.11.1.jar">
+            <sha512 
value="1154328bc1ed20d0a92c0ba1eb732ef58ee737b66442c44b148075a2a205d2cc47b12c20e14af8095b783eb7fe213eaa0a44ccf1c3c8e363ece377fc5d2fd2b9"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="asm-commons-9.9.pom">
-            <sha512 
value="0b141c1bf673023cb2da95d5b030995051b5d284d7c00d23ff5f4aa8853d343f835392c732c832a71648ea04a70090ee0b4ca53242f324401164e9f533ab2e0e"
 origin="Generated by Gradle"/>
+         <artifact name="asm-commons-9.11.1.pom">
+            <sha512 
value="e0de3320d565b548ea3ab0fc36086a406a90999438ae014fb1378931b014f5d0c953904bab25abff0dbf29bc260fd57bc771a0add24c3271ac5fdf9dbb6098e5"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
       <component group="org.ow2.asm" name="asm-tree" version="9.11">
@@ -3439,12 +3439,12 @@
             <sha512 
value="e8c17d43fdc890352572d6c3e248c00287935c277d37bffbdf732571928b80d76d0687d72b3c6d0ad0a844ec17a21b28292dcef7d41d56b1535df8e6d794c8eb"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
-      <component group="org.ow2.asm" name="asm-tree" version="9.9">
-         <artifact name="asm-tree-9.9.jar">
-            <sha512 
value="8b555d9166a17dcd0d1b297bd61fb3da59279b00a97fd7d0a3b139cb68ca8012ac14fb9bab0a6fa7ebe5612337f8e39b240d97b05a2c25ebc9ece15b7a1bc131"
 origin="Generated by Gradle"/>
+      <component group="org.ow2.asm" name="asm-tree" version="9.11.1">
+         <artifact name="asm-tree-9.11.1.jar">
+            <sha512 
value="7ef6214020c8f765ad1d31df6cbe5c7811184469e9a74751474ac2fe2452c03e04bbd49edf77a2a642eb211dd8f2aceca803b452c9e1a5f4dd6546845c2ddfc7"
 origin="Generated by Gradle"/>
          </artifact>
-         <artifact name="asm-tree-9.9.pom">
-            <sha512 
value="7770a74d27cd6259778a564267f17f49fc8e992f5bc7b5e3b261b0e7793d5f76954195964b82a76d0eb48a0d662301be23e40efbcc7a4221ff6e928384abc18c"
 origin="Generated by Gradle"/>
+         <artifact name="asm-tree-9.11.1.pom">
+            <sha512 
value="55c1d73321e827f40894cc849d65fb44c3c0dc867b774a613110be707666546fa5d3d492584a07ea47994ba2a6d961a1f6f0632014716a565e9f46c4c31f4b12"
 origin="Generated by Gradle"/>
          </artifact>
       </component>
       <component group="org.ow2.asm" name="asm-util" version="9.11">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to