This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.2 by this push:
new 0c966e05294a [SPARK-57765][R] Support Java 25 in SparkR
0c966e05294a is described below
commit 0c966e05294a73dea3718a43e1dcb22675b6daec
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jun 29 19:12:12 2026 -0700
[SPARK-57765][R] Support Java 25 in SparkR
### What changes were proposed in this pull request?
This PR aims to fix `SparkR` by bumping the `SystemRequirements` upper
bound in `R/pkg/DESCRIPTION` from `< 22` to `< 26`.
- [SPARK-51167 Build and Run Spark on Java
25](https://issues.apache.org/jira/browse/SPARK-51167)
### Why are the changes needed?
Like the following, Spark already supports Java 17/21/25, but `SparkR`'s
`checkJavaVersion()` rejects Java `>= 22`. This aligns SparkR with the rest of
Spark.
-
https://github.com/apache/spark/actions/workflows/build_branch42_java25.yml
- https://github.com/apache/spark/actions/runs/28284378586/job/83806614082
### Does this PR introduce _any_ user-facing change?
No change on the existing SparkR behavior. This will allow to install on
Java 25 additionally.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.8
Closes #56870 from dongjoon-hyun/SPARK-57765.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit b05b109f5eecf4b9becbd0a9d920e32780a9f64b)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
R/pkg/DESCRIPTION | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/R/pkg/DESCRIPTION b/R/pkg/DESCRIPTION
index a057d12c028a..7801302bcc7d 100644
--- a/R/pkg/DESCRIPTION
+++ b/R/pkg/DESCRIPTION
@@ -10,7 +10,7 @@ Authors@R:
License: Apache License (== 2.0)
URL: https://www.apache.org https://spark.apache.org
BugReports: https://spark.apache.org/contributing.html
-SystemRequirements: Java (>= 17, < 22)
+SystemRequirements: Java (>= 17, < 26)
Depends:
R (>= 3.5),
methods
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]