Skip to content

Add jdk-27 (Eclipse Temurin 27, current feature release) - #898

Merged
bryan-minimal merged 2 commits into
mainfrom
jdk-27-temurin
Oct 16, 2026
Merged

bryan-minimal merged 2 commits into
mainfrom
jdk-27-temurin

Conversation

@bryan-minimal

@bryan-minimal bryan-minimal commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Adds packages/jdk-27: Eclipse Temurin 27 GA (jdk-27+35, published 2026-09-21), the current Java feature release (non-LTS). It is a separate package, so jdk stays put. The shape is copied exactly from packages/jdk-25 in #897 (same outputs, runtime deps and tests) with every 25-specific value changed. The branch is cut from main because jdk-27 does not depend on #897.

Sources (from adoptium/temurin27-binaries, release jdk-27+35)

arch asset sha256 (from the published .sha256.txt)
amd64 OpenJDK27U-jdk_x64_linux_hotspot_27_35.tar.gz 1cf69a4848ffb728b3b260dfd45206a51566ab571a02a30092271d4c580bccbc
arm64 OpenJDK27U-jdk_aarch64_linux_hotspot_27_35.tar.gz e4ec5c7276290c7bde0baecba9a29be4962f5388684296406a9799d465936087

I re-hashed the x64 tarball locally and it matches. Its top directory is jdk-27+35/, and release says JAVA_VERSION="27", JAVA_RUNTIME_VERSION="27+35". The top-level layout (bin conf include legal lib man NOTICE release, with no jmods/) is the same one the jdk-25 outputs already cover.

The GA release has no dotted version

A GA release is 27, not 27.0.0. So version = "27" and build_num = "35", and the unchanged URL template and build.sh (OpenJDK27U-jdk_${PLATFORM}_linux_hotspot_${VERSION}_${BUILD_NUM}.tar.gz, cd "jdk-${VERSION}+${BUILD_NUM}") produce the exact asset names and directory. I checked this with mip dump --packages: the evaluated amd64 URL is .../download/jdk-27+35/OpenJDK27U-jdk_x64_linux_hotspot_27_35.tar.gz. java_version greps version "27.

Version checking: this package is not pinned yet

  • pkgmgr reads Temurin tags jdk-X+N, and sc#502 strips the +build metadata, so jdk-27+35 is read as 27. The first update (jdk-27.0.1+N) is read as 27.0.1, and the updater rewrites both version and build_num. That update also moves the shape from undotted to dotted, which is worth checking on the first auto-update PR.
  • jdk-27 tracks the current feature release line. When JDK 28 ships (March 2027) it needs a rename or a roll to jdk-28. It is not pinned today, so the updater would propose 28 into jdk-27 once temurin27-binaries is superseded. (In practice 28 ships from a different repo, temurin28-binaries, so the GithubRepo provenance alone probably never offers 28. A pin makes this explicit instead of relying on that.) Recommended follow-up in pkgmgr-rs: add a series pin to data/series_pins.toml:
    [jdk-27]
    series = "27"
    reason = "jdk-27 is the Temurin 27 line; a new feature release gets its own package"

Vulnerability coverage

gominimal/minimal-supply-chain#514 adds a jdk-27 CPE identity (oracle:jdk + oracle:jre), the same as the merged jdk-25 entry. The provenance repo temurin27-binaries holds no advisories.

Not verified here

I have not built this locally (house rule). I will comment /build to run the buildbot.

🤖 Generated with Claude Code

Temurin 27 GA (jdk-27+35, 2026-09-21), the current Java feature release,
as its own package alongside `jdk`. Same shape as jdk-25 in #897.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryan-minimal
bryan-minimal requested a review from a team as a code owner October 16, 2026 20:01
@bryan-minimal

Copy link
Copy Markdown
Member Author

/build

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 24 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 58 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: gominimal/pkgs/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 35f61e90-7d10-422a-8bb7-5504eafd5a55
📥 Commits

Reviewing files that changed from the base of the PR and between 57625a5 and 1afa3ed.

📒 Files selected for processing: 2
  • packages/jdk-27/build.ncl
  • packages/jdk-27/build.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryan-minimal

Copy link
Copy Markdown
Member Author

/build

bryan-minimal added a commit that referenced this pull request Oct 16, 2026
All three Java stacks now name jdk-25 (pkgs#897) rather than the `jdk`
meta, so a project's Java doesn't move when `jdk` rolls to the next LTS.
The header's `$JAVA_HOME/bin/jdb` is plain `jdb` now that #897/#898 link
every JDK tool into /usr/bin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryan-minimal
bryan-minimal added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit 6a48d56 Oct 16, 2026
11 checks passed
@bryan-minimal
bryan-minimal deleted the jdk-27-temurin branch October 16, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants