Skip to content

Conversation

@andy1li
Copy link
Member

@andy1li andy1li commented Oct 27, 2025

Note

Upgrade Java toolchain to 25, enable preview features at compile/run time, and add a Java 25 Dockerfile.

  • Java Upgrade:
    • Set buildpack to java-25 in codecrafters.yml.
    • Update pom.xml properties to Java 25 in compiled starter, solution, and template.
  • Preview Features:
    • Add --enable-preview to runtime scripts: compiled_starters/java/.codecrafters/run.sh, your_program.sh, solution and template equivalents.
    • Configure maven-compiler-plugin with --enable-preview.
  • Docker:
    • Add dockerfiles/java-25.Dockerfile based on eclipse-temurin-25 and run .codecrafters/compile.sh.

Written by Cursor Bugbot for commit 8275b18. This will update automatically on new commits. Configure here.

…uration

- Changed buildpack version from java-24 to java-25 in configuration files.
- Updated Maven compiler source and target versions to 25 in pom.xml files.
- Added maven-compiler-plugin configuration to enable preview features.
- Modified run scripts to include the --enable-preview flag for Java execution.
- Introduced a new Dockerfile for Java 25.
@andy1li andy1li self-assigned this Oct 27, 2025
@linear
Copy link

linear bot commented Oct 27, 2025

@andy1li andy1li merged commit 259a8c4 into main Oct 27, 2025
24 checks passed
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