This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-1.9
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.9 by this push:
new 1729fc8b47 [KYUUBI #6813] [BUILD] Replace `java.version` 1.8 with 8
1729fc8b47 is described below
commit 1729fc8b475fee7906ef8e1097f83faf12639c49
Author: Bowen Liang <[email protected]>
AuthorDate: Tue Nov 19 17:22:59 2024 +0800
[KYUUBI #6813] [BUILD] Replace `java.version` 1.8 with 8
This pull request fixes #
- 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.

- [ ] 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)
---
- [ ] 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 <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit c391d169fe16d1940115dbbf0a22bcaa6998b76e)
Signed-off-by: Cheng Pan <[email protected]>
---
pom.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1117c91617..f10ec355ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -111,7 +111,7 @@
</distributionManagement>
<properties>
- <java.version>1.8</java.version>
+ <java.version>8</java.version>
<maven.version>3.8.8</maven.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -1871,10 +1871,10 @@
<profile>
<id>java-8</id>
<activation>
- <jdk>1.8</jdk>
+ <jdk>8</jdk>
</activation>
<properties>
- <java.version>1.8</java.version>
+ <java.version>8</java.version>
</properties>
</profile>