From c391d169fe16d1940115dbbf0a22bcaa6998b76e Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Tue, 19 Nov 2024 17:22:59 +0800 Subject: [PATCH] [KYUUBI #6813] [BUILD] Replace `java.version` 1.8 with 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— This pull request fixes # ## Describe Your Solution ๐Ÿ”ง - fix the compilation error on Zulu JDK8 (Zulu 8.82.0.21-cA-macos-aarch64 with M4 Max chip on MacOS 15.1), when running `build/mvn clean install -pl :kyuubi-util -DskipTests -am` command to build a pure Java module, by replacing version code sytle from 1.8 to 8. ![image](https://github.com/user-attachments/assets/d4d473b5-8db7-49cf-b7d5-6cc23541496c) ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช #### Behavior Without This Pull Request :coffin: #### Behavior With This Pull Request :tada: #### Related Unit Tests --- # Checklist ๐Ÿ“ - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6813 from bowenliang123/java8. Closes #6813 1a1e3f3a7 [Bowen Liang] set java.version to 8 Authored-by: Bowen Liang Signed-off-by: Cheng Pan --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1ac1f47d1e8..f2a37c519d2 100644 --- a/pom.xml +++ b/pom.xml @@ -113,7 +113,7 @@ - 1.8 + 8 3.9.9 ${java.version} ${java.version} @@ -1901,10 +1901,10 @@ java-8 - 1.8 + 8 - 1.8 + 8 1.6.1