Skip to content

Commit

Permalink
Merge pull request #1736 from rmartin16/bump-jdk
Browse files Browse the repository at this point in the history
Bump JDK to 17.0.11+9
  • Loading branch information
freakboy3742 committed Apr 23, 2024
2 parents 2de6e96 + 2dad2ee commit cb71e43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions changes/1736.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Java JDK 17.0.11+9 is now used to package Android apps. Use ``briefcase upgrade java`` to update your Briefcase-installed JDK instance to this version.
6 changes: 3 additions & 3 deletions src/briefcase/integrations/java.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class JDK(ManagedTool):
name = "java"
full_name = "Java JDK"

# Latest OpenJDK as of September 2023: https://adoptium.net/temurin/releases/
# Latest OpenJDK as of April 2024: https://adoptium.net/temurin/releases/
JDK_MAJOR_VER = "17"
JDK_RELEASE = "17.0.10"
JDK_BUILD = "7"
JDK_RELEASE = "17.0.11"
JDK_BUILD = "9"
JDK_INSTALL_DIR_NAME = f"java{JDK_MAJOR_VER}"

def __init__(self, tools: ToolCache, java_home: Path):
Expand Down
4 changes: 2 additions & 2 deletions tests/integrations/java/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from briefcase.integrations.download import Download
from briefcase.integrations.subprocess import Subprocess

JDK_RELEASE = "17.0.10"
JDK_BUILD = "7"
JDK_RELEASE = "17.0.11"
JDK_BUILD = "9"


@pytest.fixture
Expand Down

0 comments on commit cb71e43

Please sign in to comment.