Skip to content

Format with palantir-java-format 2.103.0 on JDK 17 to match open-java-format - #469

Merged
slachiewicz merged 1 commit into
masterfrom
agent/palantir-2.103
Nov 22, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/palantir-2.103

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

On JDK 17 to 20 Spotless falls back to palantir-java-format, and 2.80.0 breaks lambda chains differently from open-java-format, so builds on JDK 17 and JDK 21 disagree on plexus-classworlds and plexus-testing. 2.103.0 formats those files exactly as open-java-format does. Both repositories need that reformat in their bump to this parent.

Verified: plexus-classworlds and plexus-testing, spotless:apply with palantir-java-format 2.98.0 and 2.103.0 on JDK 17 and with open-java-format on JDK 27 → identical diffs (6 and 7 changed lines).

…-format

Versions before 2.98.0 break lambda chains differently from open-java-format, so a JDK 17 build and a JDK 21 build would disagree on the formatting. Keep this version at 2.98.0 or later.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Nov 22, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 22, 2026 23:02
@slachiewicz
slachiewicz merged commit fc010a4 into master Nov 22, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/palantir-2.103 branch November 22, 2026 23:02
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.

1 participant