This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new 89f70b70e Support building and using ElasticJob with JDK25 (#2518)
89f70b70e is described below
commit 89f70b70e11f527b10b1c55838cfa7ac070128f0
Author: Hengqian Ling <[email protected]>
AuthorDate: Wed Jul 1 22:25:25 2026 +0800
Support building and using ElasticJob with JDK25 (#2518)
---
.github/workflows/maven.yml | 2 +-
RELEASE-NOTES.md | 5 +++--
.../spring/namespace/job/AbstractJobSpringIntegrateTest.java | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index af396a019..6f92be8d6 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -29,7 +29,7 @@ jobs:
if: github.repository == 'apache/shardingsphere-elasticjob'
strategy:
matrix:
- java: [ 17, 21, 24 ]
+ java: [ 17, 21, 25 ]
os: [ 'windows-latest', 'macos-latest', 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 68df985c5..fba154164 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -2,8 +2,9 @@
### Enhancements
-1. Bump the JDK requirement for build time from JDK 8 to JDK 17 -
[#2509](https://github.com/apache/shardingsphere-elasticjob/issues/2509)
-1. Registry Center: Support etcd3 as a registry center -
[#2221](https://github.com/apache/shardingsphere-elasticjob/issues/2221)
+1. Build: Support building and using ElasticJob with JDK25 -
[#2518](https://github.com/apache/shardingsphere-elasticjob/pull/2518)
+1. Build: Bump the JDK requirement for build time from JDK 8 to JDK 17 -
[#2509](https://github.com/apache/shardingsphere-elasticjob/issues/2509)
+1. Registry Center: Support etcd as a registry center -
[#2221](https://github.com/apache/shardingsphere-elasticjob/issues/2221)
## 3.0.5
diff --git
a/spring/namespace/src/test/java/org/apache/shardingsphere/elasticjob/spring/namespace/job/AbstractJobSpringIntegrateTest.java
b/spring/namespace/src/test/java/org/apache/shardingsphere/elasticjob/spring/namespace/job/AbstractJobSpringIntegrateTest.java
index 9cadd4e96..2692b6bb2 100644
---
a/spring/namespace/src/test/java/org/apache/shardingsphere/elasticjob/spring/namespace/job/AbstractJobSpringIntegrateTest.java
+++
b/spring/namespace/src/test/java/org/apache/shardingsphere/elasticjob/spring/namespace/job/AbstractJobSpringIntegrateTest.java
@@ -70,13 +70,13 @@ public abstract class AbstractJobSpringIntegrateTest {
}
private void assertSimpleElasticJobBean() {
- Awaitility.await().atMost(1L, TimeUnit.MINUTES).untilAsserted(() ->
assertThat(FooSimpleElasticJob.isCompleted(), is(true)));
+ Awaitility.await().atMost(2L, TimeUnit.MINUTES).untilAsserted(() ->
assertThat(FooSimpleElasticJob.isCompleted(), is(true)));
assertTrue(FooSimpleElasticJob.isCompleted());
assertTrue(regCenter.isExisted("/" + simpleJobName + "/sharding"));
}
private void assertThroughputDataflowElasticJobBean() {
- Awaitility.await().atMost(1L, TimeUnit.MINUTES).untilAsserted(() ->
assertThat(DataflowElasticJob.isCompleted(), is(true)));
+ Awaitility.await().atMost(2L, TimeUnit.MINUTES).untilAsserted(() ->
assertThat(DataflowElasticJob.isCompleted(), is(true)));
assertTrue(DataflowElasticJob.isCompleted());
assertTrue(regCenter.isExisted("/" + throughputDataflowJobName +
"/sharding"));
}