From 4000d1f25cfeaef16ce188705d928d382a0fb5c6 Mon Sep 17 00:00:00 2001 From: linghengqian Date: Fri, 15 Nov 2024 23:44:14 +0800 Subject: [PATCH] Avoid using `-proc:full` when compiling ShardingSphere with OpenJDK23 --- RELEASE-NOTES.md | 1 + examples/pom.xml | 28 +++++---------- kernel/sql-federation/optimizer/pom.xml | 1 - pom.xml | 45 +++++++++---------------- 4 files changed, 25 insertions(+), 50 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 91810c11ebbb8..6fb9cb8bc9c98 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -17,6 +17,7 @@ 1. SQL Parser: Support parsing Doris STRRIGHT - [#33393](https://github.com/apache/shardingsphere/pull/33393) 1. JDBC: Add show database name for JDBC when execute SHOW COMPUTE NODES - [#33437](https://github.com/apache/shardingsphere/pull/33437) 1. Kernel: Add binding to owner table - [#33533](https://github.com/apache/shardingsphere/pull/33533) +1. Build: Avoid using `-proc:full` when compiling ShardingSphere with OpenJDK23 - [#33681](https://github.com/apache/shardingsphere/pull/33681) ### Bug Fixes diff --git a/examples/pom.xml b/examples/pom.xml index 64762c0dbd1c6..85e522eeb64d3 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -46,7 +46,7 @@ 2.2.224 1.7.7 1.2.13 - 1.18.34 + 1.18.36 3.5.9 2.0.5 2.1.3 @@ -340,7 +340,7 @@ jdk11-22 - [11,23) + [11,) 1.3.2 @@ -353,23 +353,6 @@ - - jdk23+ - - [23,) - - - 1.3.2 - full - - - - javax.annotation - javax.annotation-api - ${annotation-api.version} - - - @@ -381,6 +364,13 @@ ${java.version} ${java.version} ${java.version} + + + org.projectlombok + lombok + ${lombok.version} + + ${maven-compiler-plugin.version} diff --git a/kernel/sql-federation/optimizer/pom.xml b/kernel/sql-federation/optimizer/pom.xml index 54b800548831b..d73cbdc1236c5 100644 --- a/kernel/sql-federation/optimizer/pom.xml +++ b/kernel/sql-federation/optimizer/pom.xml @@ -28,7 +28,6 @@ 1.38.0 - 2.9.3 diff --git a/pom.xml b/pom.xml index f79fb30a17aec..6fc13b629b5fa 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,8 @@ 1.2.13 1.2 - 1.18.34 + 1.18.36 + 2.9.3 42.7.2 8.3.0 @@ -692,6 +693,18 @@ ${java.version} ${java.version} ${java.version} + + + org.projectlombok + lombok + ${lombok.version} + + + org.immutables + value + ${immutables.version} + + @@ -990,7 +1003,7 @@ jdk11-22 - [11,23) + [11,) 8 @@ -1014,34 +1027,6 @@ - - jdk23+ - - [23,) - - - 8 - full - - - - - - maven-surefire-plugin - - --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED - - - - maven-failsafe-plugin - - --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/sun.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED - - - - - - generateMetadata