Closed
Conversation
Member
Author
wForget
approved these changes
Dec 26, 2025
pan3793
added a commit
that referenced
this pull request
Dec 26, 2025
### Why are the changes needed?
I hit an issue while preparing 1.11.0 RC0, which indicates I need to use a higher version of JDK for releasing.
```
[INFO] --- antlr4:4.13.1:antlr4 (default) kyuubi-extension-spark-4-0_2.13 ---
[WARNING] Error injecting: org.antlr.mojo.antlr4.Antlr4Mojo
java.lang.UnsupportedClassVersionError: org/antlr/v4/Tool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass (ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:142)
```
In #7144, we made it always use `-release:8` for `jdk9+`, so we still produce Java 8 compatible bytecode even using JDK 17, for all modules except Spark 4.0/4.1 extension modules.
### How was this patch tested?
Will verify this in the next RC of 1.11.0
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #7289 from pan3793/release-java17.
Closes #7289
17e29be [Cheng Pan] Release requires Java 17 or 21
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit eecdaaa)
Signed-off-by: Cheng Pan <[email protected]>
Member
Author
|
thanks, merged to master/1.11, will continue the 1.11.0 release |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7289 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 698 698
Lines 43636 43636
Branches 5893 5893
======================================
Misses 43636 43636 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are the changes needed?
I hit an issue while preparing 1.11.0 RC0, which indicates I need to use a higher version of JDK for releasing.
In #7144, we made it always use
-release:8forjdk9+, so we still produce Java 8 compatible bytecode even using JDK 17, for all modules except Spark 4.0/4.1 extension modules.How was this patch tested?
Will verify this in the next RC of 1.11.0
Was this patch authored or co-authored using generative AI tooling?
No.