Skip to content

Add support for Java 27 - #7634

Draft
pditommaso wants to merge 1 commit into
masterfrom
java-27-support
Draft

pditommaso wants to merge 1 commit into
masterfrom
java-27-support

Conversation

@pditommaso

Copy link
Copy Markdown
Member

Adds Java 27 to the supported runtime range, following the same shape as #6969 (Java 26).

Changes

File Change
nextflow version_check accepts 27; version_message → "up to 27"
nextflow --enable-native-access / --sun-misc-unsafe-memory-access=allow branch extended to ^(24|25|26|27)
nextflow virtual-threads guard extended to ^(21|22|23|24|25|26|27)
launch.sh same version check and JVM flag changes for the dev launcher
docs/install.mdx requirements now read "Java 17 (or later, up to 27)"
.github/workflows/build.yml test matrix [17, 25][17, 26]

Verification

  • bash -n passes on both nextflow and launch.sh
  • New regex accepts 1727 (including 27.0.1) and still rejects 16 and 28
  • build.yml parses as valid YAML

Notes

  • CI matrix goes to 26, not 27, matching the precedent from Add support for Java 26 #6969 (which tested 25 while adding 26 support). Corretto 27 x64-linux is available, so the matrix can move to 27 in a follow-up once 27 has soaked.
  • No migration-notes entry yet. VERSION is 26.08.0-edge and there is no docs/migrations/26-10.mdx; the Support [Java 27][install-requirements] line belongs there when that file is created.
  • Worth noting for anyone testing locally: SDKMAN currently advertises Java 27 in its version index but every JDK 27 identifier 404s at its download broker (all vendors, all platforms). Installing 27 requires a direct vendor download plus a SDKMAN local install.

Draft until tested against a real JDK 27 runtime.

🤖 Generated with Claude Code

Accept Java 27 in the launcher version checks and extend the Java 24+
JVM flags (--enable-native-access, --sun-misc-unsafe-memory-access) and
the virtual threads guard to cover it.

Also bump the CI test matrix from Java 25 to 26.

Assisted-by: Claude Opus 5 (1M context)
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@netlify

netlify Bot commented Sep 17, 2026

Copy link
Copy Markdown

Deploy Preview for nextflow-docs ready!

Name Link
🔨 Latest commit 7fd0759
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs/deploys/6aabda65b7ffcc00087b8f6b
😎 Deploy Preview https://deploy-preview-7634--nextflow-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants