Skip to content

Commit 1729fc8

Browse files
bowenliang123pan3793
authored andcommitted
[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. ![image](https://github.com/user-attachments/assets/d4d473b5-8db7-49cf-b7d5-6cc23541496c) - [ ] 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 1a1e3f3 [Bowen Liang] set java.version to 8 Authored-by: Bowen Liang <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit c391d16) Signed-off-by: Cheng Pan <[email protected]>
1 parent c0e479a commit 1729fc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
</distributionManagement>
112112

113113
<properties>
114-
<java.version>1.8</java.version>
114+
<java.version>8</java.version>
115115
<maven.version>3.8.8</maven.version>
116116
<maven.compiler.source>${java.version}</maven.compiler.source>
117117
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -1871,10 +1871,10 @@
18711871
<profile>
18721872
<id>java-8</id>
18731873
<activation>
1874-
<jdk>1.8</jdk>
1874+
<jdk>8</jdk>
18751875
</activation>
18761876
<properties>
1877-
<java.version>1.8</java.version>
1877+
<java.version>8</java.version>
18781878
</properties>
18791879
</profile>
18801880

0 commit comments

Comments
 (0)