diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8cb06cca8..494a215db 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [11, 17]
+ java: [17, 21]
name: build with jdk ${{matrix.java}}
steps:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d0528e6fa..9716578ff 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-java@v1.4.3
with:
- java-version: 11
+ java-version: 17
server-id: 'oss.sonatype'
server-username: 'MAVEN_DEPLOY_USERNAME'
server-password: 'MAVEN_DEPLOY_TOKEN'
diff --git a/pom.xml b/pom.xml
index 21ef3e159..8dcf05dfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,9 +62,9 @@
--add-modules java.se
- 11
- 11
- 11
+ 17
+ 17
+ 17
1.8.0
0.7.0
1.9.0