This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 9a75a1d69aae [SPARK-46411][BUILD] Change to use
`bcprov/bcpkix-jdk18on` for UT
9a75a1d69aae is described below
commit 9a75a1d69aae608b0c6a0c78b1e2d8a99a049691
Author: yangjie01 <[email protected]>
AuthorDate: Mon Dec 18 12:19:20 2023 -0800
[SPARK-46411][BUILD] Change to use `bcprov/bcpkix-jdk18on` for UT
### What changes were proposed in this pull request?
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 #44359 from LuciferYang/bouncycastle-177.
Lead-authored-by: yangjie01 <[email protected]>
Co-authored-by: YangJie <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
common/network-common/pom.xml | 6 ++----
pom.xml | 6 +++---
resource-managers/yarn/pom.xml | 4 ++--
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/common/network-common/pom.xml b/common/network-common/pom.xml
index bec9531fcbe0..cdb5bd72158a 100644
--- a/common/network-common/pom.xml
+++ b/common/network-common/pom.xml
@@ -163,14 +163,12 @@
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>${bouncycastle.version}</version>
+ <artifactId>bcprov-jdk18on</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
- <version>${bouncycastle.version}</version>
+ <artifactId>bcpkix-jdk18on</artifactId>
<scope>test</scope>
</dependency>
diff --git a/pom.xml b/pom.xml
index b95f72f8a5c6..aeb067352fd1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -221,7 +221,7 @@
<maven-antrun.version>3.1.0</maven-antrun.version>
<commons-crypto.version>1.1.0</commons-crypto.version>
<commons-cli.version>1.6.0</commons-cli.version>
- <bouncycastle.version>1.70</bouncycastle.version>
+ <bouncycastle.version>1.77</bouncycastle.version>
<tink.version>1.9.0</tink.version>
<netty.version>4.1.100.Final</netty.version>
<netty-tcnative.version>2.0.61.Final</netty-tcnative.version>
@@ -1476,13 +1476,13 @@
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
+ <artifactId>bcprov-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
+ <artifactId>bcpkix-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
<scope>test</scope>
</dependency>
diff --git a/resource-managers/yarn/pom.xml b/resource-managers/yarn/pom.xml
index 75ab7bc6e2f6..694d81b3c25e 100644
--- a/resource-managers/yarn/pom.xml
+++ b/resource-managers/yarn/pom.xml
@@ -54,12 +54,12 @@
<!-- Used by MiniYARNCluster -->
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
+ <artifactId>bcprov-jdk18on</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
+ <artifactId>bcpkix-jdk18on</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]