This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch branch-3.4 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.4 by this push: new 5f8a00b2c15d [SPARK-46411][BUILD][3.4] Change to use `bcprov/bcpkix-jdk18on` for UT 5f8a00b2c15d is described below commit 5f8a00b2c15de5aa792492d418b616105be31cb5 Author: yangjie01 <yangji...@baidu.com> AuthorDate: Fri Apr 5 11:55:07 2024 -0700 [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 https://github.com/apache/spark/pull/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 <yangji...@baidu.com> Signed-off-by: Dongjoon Hyun <dh...@apple.com> --- pom.xml | 6 +++--- resource-managers/yarn/pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index e347a592cb17..4a220a32685c 100644 --- a/pom.xml +++ b/pom.xml @@ -213,7 +213,7 @@ <maven-antrun.version>1.8</maven-antrun.version> <commons-crypto.version>1.1.0</commons-crypto.version> <commons-cli.version>1.5.0</commons-cli.version> - <bouncycastle.version>1.70</bouncycastle.version> + <bouncycastle.version>1.77</bouncycastle.version> <tink.version>1.7.0</tink.version> <netty.version>4.1.87.Final</netty.version> <!-- @@ -1440,13 +1440,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 6edc95142af7..344841ae2ed1 100644 --- a/resource-managers/yarn/pom.xml +++ b/resource-managers/yarn/pom.xml @@ -90,12 +90,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: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org