Skip to content

Commit 5f8a00b

Browse files
LuciferYangdongjoon-hyun
authored andcommitted
[SPARK-46411][BUILD][3.4] Change to use bcprov/bcpkix-jdk18on for UT
### What changes were proposed in this pull request? This is a backport of #44359 . This PR migrates the test dependency `bcprov/bcpkix` from `jdk15on` to `jdk18on`, and upgrades the version from 1.70 to 1.77, the `jdk18on` jars are compiled to work with anything from Java 1.8 up. ### Why are the changes needed? The full release notes as follows: - https://www.bouncycastle.org/releasenotes.html#r1rv77 ### Does this PR introduce _any_ user-facing change? No, just for test. ### How was this patch tested? Pass GitHub Actions. ### Was this patch authored or co-authored using generative AI tooling? No Closes #45898 from dongjoon-hyun/SPARK-46411-3.4. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent d9a6e5d commit 5f8a00b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<maven-antrun.version>1.8</maven-antrun.version>
214214
<commons-crypto.version>1.1.0</commons-crypto.version>
215215
<commons-cli.version>1.5.0</commons-cli.version>
216-
<bouncycastle.version>1.70</bouncycastle.version>
216+
<bouncycastle.version>1.77</bouncycastle.version>
217217
<tink.version>1.7.0</tink.version>
218218
<netty.version>4.1.87.Final</netty.version>
219219
<!--
@@ -1440,13 +1440,13 @@
14401440
</dependency>
14411441
<dependency>
14421442
<groupId>org.bouncycastle</groupId>
1443-
<artifactId>bcprov-jdk15on</artifactId>
1443+
<artifactId>bcprov-jdk18on</artifactId>
14441444
<version>${bouncycastle.version}</version>
14451445
<scope>test</scope>
14461446
</dependency>
14471447
<dependency>
14481448
<groupId>org.bouncycastle</groupId>
1449-
<artifactId>bcpkix-jdk15on</artifactId>
1449+
<artifactId>bcpkix-jdk18on</artifactId>
14501450
<version>${bouncycastle.version}</version>
14511451
<scope>test</scope>
14521452
</dependency>

resource-managers/yarn/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@
9090
<!-- Used by MiniYARNCluster -->
9191
<dependency>
9292
<groupId>org.bouncycastle</groupId>
93-
<artifactId>bcprov-jdk15on</artifactId>
93+
<artifactId>bcprov-jdk18on</artifactId>
9494
<scope>test</scope>
9595
</dependency>
9696
<dependency>
9797
<groupId>org.bouncycastle</groupId>
98-
<artifactId>bcpkix-jdk15on</artifactId>
98+
<artifactId>bcpkix-jdk18on</artifactId>
9999
<scope>test</scope>
100100
</dependency>
101101
</dependencies>

0 commit comments

Comments
 (0)