Skip to content

Test JDK 27 instead of 26 - #13438

Merged
slachiewicz merged 1 commit into
masterfrom
agent/jdk-27-master
Oct 12, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/jdk-27-master

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

JDK 26 is out of support now that 27 is released, so the JDK 26 jobs test 27 instead. Spotless is skipped on the JDK 27 jobs only: palantir-java-format crashes there (NoSuchFieldError for JCCompilationUnit.endPositions, palantir/palantir-java-format#1786, not yet released); the other JDKs keep checking formatting. Drop the skip once maven-parent ships a fixed palantir-java-format.

Verified locally on Temurin 27+35 (aarch64) with Maven 4.0.0-rc-7 and -Dspotless.skip: mvn install -DskipTests and mvn test pass, 3281 unit tests, 0 failures. Core ITs not run locally.

JDK 26 is out of support now that 27 is released. Spotless is skipped on
the JDK 27 jobs only: palantir-java-format crashes there until
palantir/palantir-java-format#1786 is released.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Oct 12, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 12, 2026 12:25

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Clean JDK 26→27 bump — JDK 26 is now out of support. The spotless skip is correctly scoped to JDK 27 only in both jobs that invoke the verify/install lifecycle (which is where spotless:check binds), and the inline comment calls out the upstream issue for removal tracking. No findings.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@slachiewicz
slachiewicz merged commit c3b1cbe into master Oct 12, 2026
3 of 4 checks passed
@slachiewicz
slachiewicz deleted the agent/jdk-27-master branch October 12, 2026 12:39
@github-actions github-actions Bot added this to the 4.1.0 milestone Oct 12, 2026
Comment on lines +222 to +223
# palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786); drop the skip once a fixed release is in maven-parent
run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V ${{ matrix.java == '27' && '-Dspotless.skip=true' || '' }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to see such switch in project pom, eg in profile
We can use also JDK 27 at local machine

@slawekjaranowski

Copy link
Copy Markdown
Member

build not finished ... so why merged ...

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

Labels

build Pull requests that change the build process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants