From b103dffb35556fde36e9579faa3455299a5f662a Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Wed, 13 May 2026 12:40:18 -0500 Subject: [PATCH 1/2] Require Java 11 at runtime, build on Java 21/25 --- .github/workflows/maven.yml | 6 +++--- README.md | 2 +- pom.xml | 10 ++++------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2015ac4..e6542cd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,15 +13,15 @@ jobs: build: strategy: matrix: - java: [8, 11, 17, 21] + java: [21, 25] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} env: maven_commands: install # default is install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: ${{ matrix.java }} distribution: 'zulu' diff --git a/README.md b/README.md index a7144c7..5634203 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ following before submitting a pull request: * verify that the branch merges cleanly into ```develop``` * verify that the branch compiles with the ```clean jars tools``` Ant targets * verify that the branch compiles using Maven - * verify that the branch does not use syntax or API specific to Java 1.8+ + * verify that the branch does not use syntax or API specific to Java > 11 * run the unit tests (```ant test```) and correct any failures * test at least one file in each affected format, using the ```showinf``` command diff --git a/pom.xml b/pom.xml index 5f52678..697f672 100644 --- a/pom.xml +++ b/pom.xml @@ -128,11 +128,9 @@ org.apache.maven.plugins maven-compiler-plugin 3.14.0 - + - 8 - 8 - 8 + 11 @@ -229,11 +227,11 @@ maven-javadoc-plugin - 3.0.1 + 3.12.0 false - http://docs.oracle.com/javase/8/docs/api/ + https://docs.oracle.com/en/java/javase/11/docs/api/ From 6975773d5a6c1a59299112db6de1029b5539ce63 Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Tue, 19 May 2026 20:06:50 -0500 Subject: [PATCH 2/2] Continue to build on Java 11/17 --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e6542cd..8c46d00 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,7 +13,7 @@ jobs: build: strategy: matrix: - java: [21, 25] + java: [11, 17, 21, 25] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} env: