From befa1a57296907170f402ebbc262c8e3fc5dbe9e Mon Sep 17 00:00:00 2001 From: David Brownman Date: Mon, 29 Sep 2025 11:22:00 -0700 Subject: [PATCH 1/2] clarify what versions of java we support --- .github/workflows/ci.yml | 8 +++++--- README.md | 8 +++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe6e367612..e250e3c5c8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,14 +54,16 @@ jobs: matrix: # We test Stripe SDK against Java LTS versions(8, 11, 17, 21) and currently supported non-LTS versions. # https://www.oracle.com/java/technologies/java-se-support-roadmap.html + # https://endoflife.date/oracle-jdk java-version: + # LTS versions - "1.8" - "11" - "17" - "21" - - "22" - - "23" - - "24" + - "25" + # non-LTS versions + # we should periodically add the latest non-LTS version here to test against steps: - uses: extractions/setup-just@v2 diff --git a/README.md b/README.md index 6d6aa2eeda8..1d15bc830c1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,13 @@ The official [Stripe][stripe] Java client library. ### Requirements -- Java 1.8 or later +We support LTS versions of the JDK. Currently, that's Java versions: + +- 8 (1.8) +- 11 +- 17 +- 21 +- 25 ### Gradle users From 8e87ddd96c3b45abad0dff1da640f3131c6c2b62 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Mon, 29 Sep 2025 11:22:58 -0700 Subject: [PATCH 2/2] clarify comment --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e250e3c5c8e..bb3d3a5573b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,7 @@ jobs: - "25" # non-LTS versions # we should periodically add the latest non-LTS version here to test against + # as of 2025-09-29, the latest version of java (25) is LTS, so this section is empty. In March 2026, we'll add "26". steps: - uses: extractions/setup-just@v2