diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7bff82dc..b9cb5258 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -19,8 +19,8 @@ jobs:
strategy:
fail-fast: false
matrix:
- # Alas, JDK14 can't be yet used as Woodstox builds for Java 6
- java_version: ['8', '11']
+ # With Woodstox 7.0 can finally test versions past 11
+ java_version: ['8', '11', '17', '21']
os: ['ubuntu-20.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
diff --git a/pom.xml b/pom.xml
index a1821136..fdf6c83e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,9 +41,9 @@ SAX2 and Stax2 APIs
2022.7
3.1.1
-
- 1.6
- 1.6
+
+ 1.8
+ 1.8