This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 89f85dbf5fc Support compiling and using ShardingSphere under OpenJDK
25 (#36643)
89f85dbf5fc is described below
commit 89f85dbf5fce0e796db5cc91590703eec30c9f73
Author: Ling Hengqian <[email protected]>
AuthorDate: Sat Sep 20 19:35:45 2025 +0800
Support compiling and using ShardingSphere under OpenJDK 25 (#36643)
---
.github/workflows/nightly-ci.yml | 2 +-
RELEASE-NOTES.md | 1 +
.../content/user-manual/common-config/builtin-algorithm/expr.cn.md | 4 ++--
.../content/user-manual/common-config/builtin-algorithm/expr.en.md | 4 ++--
.../infra/expr/espresso/EspressoInlineExpressionParserTest.java | 4 ++--
pom.xml | 4 ++--
6 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml
index 8c86b9786aa..9fc36a69447 100644
--- a/.github/workflows/nightly-ci.yml
+++ b/.github/workflows/nightly-ci.yml
@@ -41,7 +41,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
- java-version: [ 11, 17, 21, 24 ]
+ java-version: [ 11, 17, 21, '25-ea' ]
steps:
- name: Support Long Paths in Windows
if: matrix.os == 'windows-latest'
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 1dfe3522a78..49e943b4649 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -30,6 +30,7 @@
### Enhancements
1. Build: Support compiling and using ShardingSphere under OpenJDK 24 -
[#35145](https://github.com/apache/shardingsphere/pull/35145)
+1. Build: Support compiling and using ShardingSphere under OpenJDK 25 -
[#36643](https://github.com/apache/shardingsphere/pull/36643)
1. Infra: Support for connecting to Presto's Memory Connector in
ShardingSphere config -
[#34432](https://github.com/apache/shardingsphere/pull/34432)
1. Infra: Eliminate HiveServer2 integration's dependency on Hive Metastore
Client - [#36114](https://github.com/apache/shardingsphere/pull/36114)
1. Infra: Support IPv6 for JDBC connection URL -
[#35289](https://github.com/apache/shardingsphere/issues/35289)
diff --git
a/docs/document/content/user-manual/common-config/builtin-algorithm/expr.cn.md
b/docs/document/content/user-manual/common-config/builtin-algorithm/expr.cn.md
index eaeba840b31..a106396feb8 100644
---
a/docs/document/content/user-manual/common-config/builtin-algorithm/expr.cn.md
+++
b/docs/document/content/user-manual/common-config/builtin-algorithm/expr.cn.md
@@ -92,12 +92,12 @@ Truffle 与 JDK 的向后兼容性矩阵位于 https://medium.com/graalvm/40027a
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
- <version>24.1.0</version>
+ <version>24.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>java</artifactId>
- <version>24.1.0</version>
+ <version>24.1.2</version>
<type>pom</type>
</dependency>
</dependencies>
diff --git
a/docs/document/content/user-manual/common-config/builtin-algorithm/expr.en.md
b/docs/document/content/user-manual/common-config/builtin-algorithm/expr.en.md
index 5863beb4120..be7e83fd271 100644
---
a/docs/document/content/user-manual/common-config/builtin-algorithm/expr.en.md
+++
b/docs/document/content/user-manual/common-config/builtin-algorithm/expr.en.md
@@ -103,12 +103,12 @@ Truffle's backward compatibility matrix with the JDK is
located at https://mediu
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
- <version>24.1.0</version>
+ <version>24.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>java</artifactId>
- <version>24.1.0</version>
+ <version>24.1.2</version>
<type>pom</type>
</dependency>
</dependencies>
diff --git
a/infra/expr/type/espresso/src/test/java/org/apache/shardingsphere/infra/expr/espresso/EspressoInlineExpressionParserTest.java
b/infra/expr/type/espresso/src/test/java/org/apache/shardingsphere/infra/expr/espresso/EspressoInlineExpressionParserTest.java
index 8ee10efcea5..16727901aad 100644
---
a/infra/expr/type/espresso/src/test/java/org/apache/shardingsphere/infra/expr/espresso/EspressoInlineExpressionParserTest.java
+++
b/infra/expr/type/espresso/src/test/java/org/apache/shardingsphere/infra/expr/espresso/EspressoInlineExpressionParserTest.java
@@ -37,9 +37,9 @@ import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
-@EnabledOnJre(value = {JRE.JAVA_21, JRE.JAVA_23}, disabledReason = "This is
used to match the requirement of `org.graalvm.polyglot:polyglot:24.1.2`")
+@EnabledOnJre(value = {JRE.JAVA_21, JRE.JAVA_23}, disabledReason = "See
`org.graalvm.polyglot:polyglot:24.1.2` and
https://medium.com/graalvm/40027a59c401")
@EnabledIfSystemProperty(named = "java.vm.vendor", matches = "GraalVM
Community", disabledReason = "Github Actions device performance is too low")
-@EnabledOnOs(value = OS.LINUX, architectures = "amd64", disabledReason = "See
https://www.graalvm.org/jdk21/reference-manual/java-on-truffle/faq/#does-java-running-on-truffle-run-on-hotspot-too")
+@EnabledOnOs(value = OS.LINUX, architectures = "amd64", disabledReason = "See
https://www.graalvm.org/latest/reference-manual/espresso/faq/#does-java-running-on-truffle-run-on-the-hotspot-jvm-too")
class EspressoInlineExpressionParserTest {
@Test
diff --git a/pom.xml b/pom.xml
index ca27c16120e..9e52a4eada5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,7 +92,7 @@
<asm.version>9.3</asm.version>
<groovy.version>4.0.22</groovy.version>
<freemarker.version>2.3.31</freemarker.version>
- <bytebuddy.version>1.15.4</bytebuddy.version>
+ <bytebuddy.version>1.17.7</bytebuddy.version>
<jakarta.jakartaee-bom.version>8.0.0</jakarta.jakartaee-bom.version>
@@ -167,7 +167,7 @@
<maven-release-plugin.version>3.0.0</maven-release-plugin.version>
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version>
- <maven-shade-plugin.version>3.5.1</maven-shade-plugin.version>
+ <maven-shade-plugin.version>3.6.1</maven-shade-plugin.version>
<checksum-maven-plugin.version>1.10</checksum-maven-plugin.version>
<!-- Check plugin versions -->