From a073143f4524e59186924de79bb02ce2ece3b5a3 Mon Sep 17 00:00:00 2001 From: Acriss Date: Fri, 20 Nov 2026 14:58:47 -0500 Subject: [PATCH] Upgrade to JDK 21.0.13.1 to fix CVE-2026-114938 The 21 line of #99, built from main: CI runs and publishes on a push to 21 and bundles Temurin 21.0.13.1+2. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 4 ++-- README.md | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5cf672b..622633c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,7 +2,7 @@ on: pull_request: push: branches: - - main + - "21" defaults: run: @@ -58,7 +58,7 @@ jobs: with: distribution: temurin # The exact build, so that setup-java never falls back to the JDK preinstalled on the runner. - java-version: 25.0.5.1+2 + java-version: 21.0.13.1+2 - run: uv run python build_java_runtime.py - if: github.event_name == 'pull_request' diff --git a/README.md b/README.md index 860f7c0..4924cf8 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime') >>> JAVA PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java') >>> JAVA_VERSION -(25, 0, 5) +(21, 0, 13) >>> from subprocess import run >>> some_java_options = ["-Xmx16G", "-Xms2G"] >>> run( diff --git a/pyproject.toml b/pyproject.toml index ebb7d75..a4b33b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ license-files = ["LICENSE"] name = "jdk4py" readme = "README.md" requires-python = ">=3.10" -version = "25.0.5.1" +version = "21.0.13.1" [project.scripts] jdk4py = "jdk4py.__main__:main" diff --git a/uv.lock b/uv.lock index ba758a0..e27b339 100644 --- a/uv.lock +++ b/uv.lock @@ -34,7 +34,7 @@ wheels = [ [[package]] name = "jdk4py" -version = "25.0.5.1" +version = "21.0.13.1" source = { editable = "." } [package.dev-dependencies]