Skip to content

Add support for Java 25#6419

Merged
pditommaso merged 7 commits intomasterfrom
support-java-25
Sep 21, 2025
Merged

Add support for Java 25#6419
pditommaso merged 7 commits intomasterfrom
support-java-25

Conversation

@pditommaso
Copy link
Member

Summary

  • Update GitHub Actions CI to test with Java 25 instead of Java 24
  • Update documentation to reflect Java 25 support (up to 25)
  • Update launch.sh script to include Java 25 in version checks
  • Update nextflow script to support Java 25 in version validation and virtual threads
  • Add Java 25 to native access and memory access flags

Test plan

  • Verify GitHub Actions CI runs with Java 25
  • Test launch.sh script accepts Java 25
  • Test nextflow script validates Java 25 correctly
  • Confirm virtual threads work with Java 25

🤖 Generated with Claude Code

pditommaso and others added 5 commits September 21, 2025 17:20
- Update Gradle wrapper from 8.14 to 9.1.0
- Fix Shadow plugin compatibility by updating mainClassName to application.mainClass.get()
- Fix exportClasspath task for Gradle 9.1 unsafe configuration resolution
- Use provider-based lazy evaluation to avoid configuration cache issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
- Update Shadow plugin from 8.3.5 to 8.3.8 for Gradle 9.1 compatibility
- Remove deprecated ext.mainClassName from packing.gradle
- Fix "You can't map a property that does not exist: propertyName=mainClassName" error
- Resolves GitHub Actions build failures with shadowDistTar and startShadowScripts tasks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
…e stage]

- Remove provider-based approach that still triggered eager resolution
- Address review comment about cfg.files causing early resolution at configuration time
- Implement minimal classpath approach that avoids Gradle 9.1 unsafe resolution errors
- Add detailed comments explaining Gradle 9.1 compatibility limitations
- exportClasspath now creates module-only classpath with clear warning about limitations

The previous provider approach still called cfg.files within the provider block,
which triggered configuration resolution at configuration time, contradicting
the intended fix for Gradle 9.1 compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Fixes test execution failures with Gradle 9.1 by adding the required
junit-platform-launcher dependency when using useJUnitPlatform().

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso pditommaso requested a review from a team as a code owner September 21, 2025 16:15
cursor[bot]

This comment was marked as outdated.

Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Base automatically changed from upgrade-gradle-9.1 to master September 21, 2025 17:46
@pditommaso pditommaso merged commit dc8d474 into master Sep 21, 2025
5 checks passed
@pditommaso pditommaso deleted the support-java-25 branch September 21, 2025 17:48
@netlify
Copy link

netlify bot commented Sep 21, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit c02f953
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68d03a35bb1f540008acf986
😎 Deploy Preview https://deploy-preview-6419--nextflow-docs-staging.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