GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix Java 21 compatibilities by Goooler · Pull Request #1920 · diffplug/spotless

Conversation

@Goooler

@Goooler Goooler commented Dec 1, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Closes Update default versions for palantir-java-format #1774.
  • Closes update palantirJavaFormat for Java 21 #1822.
  • Closes Test integration with the latest Java version on CI #1907.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Goooler

This comment was marked as outdated.

Sign in to view
@Goooler Goooler mentioned this pull request Dec 1, 2023
update palantirJavaFormat for Java 21 #1822
Closed
@Goooler
Goooler force-pushed the bump-palantir-java-format branch from b1a9f15 to b316ad0 Compare December 1, 2023 10:40
@Goooler Goooler changed the title Bump palantir-java-format for Java 21 Use palantir-java-format 2.38.0 on Java 21 Dec 1, 2023
@slachiewicz @Goooler
Use palantir-java-format 2.38.0 on Java 21
de20ea9
Co-authored-by: Goooler <[email protected]>
@Goooler
Goooler force-pushed the bump-palantir-java-format branch from 71eba7e to de20ea9 Compare December 2, 2023 03:33
@steven-sheehy

steven-sheehy commented Dec 2, 2023

Copy link
Copy Markdown
Contributor

This doesn't seem to have the java 21 workflow or the guava variant fix?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler

Goooler commented Dec 2, 2023

Copy link
Copy Markdown
Member Author

Yeah, I should probably add Java 21 to CI first.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler
Goooler marked this pull request as draft December 2, 2023 04:02
Goooler added 6 commits December 2, 2023 23:54
@Goooler
Gradle 8.5
00596df
https://docs.gradle.org/8.5/release-notes.html
@Goooler
Add Java 21 to CI matrix
1ba268b
@Goooler
Bump default googleJavaFormat version to latest 1.18.1
7b6cefd
https://github.com/google/google-java-format/releases
@Goooler
Declare TARGET_JVM_ENVIRONMENT_ATTRIBUTE attr for resolving Guava
682dcd6
@Goooler
Use Guava 32.1.3
a6495ed
@Goooler
Fix tests related to Java 21
ce7563c
* Fix CombinedJavaFormatStepTest

* Fix GoogleJavaFormatStepTest

* Fix PalantirJavaFormatStepTest

* Fix GoogleJavaFormatIntegrationTest

* Fix MultiProjectTest

* Fix MavenProvisionerTest

* Fix PalantirJavaFormatTest

* Fix SpecificFilesTest

* Fix GoogleJavaFormatTest
@Goooler Goooler changed the title Use palantir-java-format 2.38.0 on Java 21 Fix Java 21 compatibilities Dec 3, 2023
@Goooler
Goooler marked this pull request as ready for review December 3, 2023 05:46
@Goooler

Goooler commented Dec 3, 2023

Copy link
Copy Markdown
Member Author

Fixed all tests but jvmLocalCache, which is related to #987, no idea for this.

https://scans.gradle.com/s/6mslfqjw7nhie/tests/overview?outcome=FAILED

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nedtwigg
Merge branch 'main' into bump-palantir-java-format
bf82239
@nedtwigg nedtwigg mentioned this pull request Dec 3, 2023
Update dependency com.google.googlejavaformat:google-java-format to v1.18.1 #1843
Closed
1 task
@nedtwigg
Add info about the maven reversion to changelog.
f2cc906
@nedtwigg

nedtwigg commented Dec 3, 2023

Copy link
Copy Markdown
Member

Fascinating. The JvmLocalCache test fails only on Java 21, and I can replicate it on my machine. I'm digging in...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nedtwigg
jvmLocalCache was failing on Java 21 because the trick we used to t…
c95574f
…est JvmLocalCache doesn't work with Gradle 8.5.
@nedtwigg nedtwigg mentioned this pull request Dec 3, 2023
Update dependency gradle to v8.5 #1933
Closed
1 task
@nedtwigg
nedtwigg merged commit 7717dba into diffplug:main Dec 3, 2023
@Goooler
Goooler deleted the bump-palantir-java-format branch December 4, 2023 00:36
@nedtwigg nedtwigg mentioned this pull request Dec 4, 2023
spotless-maven-plugin version 2.38.0 failing on JDK 21 RC1 (EA-35) #1791
Closed
@nedtwigg

nedtwigg commented Dec 4, 2023

Copy link
Copy Markdown
Member

Published in plugin-gradle 6.23.3 and plugin-maven 2.41.1.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bombcar bombcar mentioned this pull request Dec 8, 2023
build script fails on j21 GTNewHorizons/GT-New-Horizons-Modpack#15040
Closed
3 tasks done
@yashmayya yashmayya mentioned this pull request Apr 23, 2024
Re-enable the Spotless plugin for Java 21 apache/pinot#12992
Merged
@chia7712 chia7712 mentioned this pull request Jun 3, 2024
KAFKA-10787: Apply spotless to transaction-coordinator and server-common apache/kafka#16172
Merged
@gongxuanzhang gongxuanzhang mentioned this pull request Jun 3, 2024
KAFKA-10787: Update spotless version and remove support JDK8 apache/kafka#16176
Merged
@devtobi devtobi mentioned this pull request Aug 2, 2024
[Maintenance] Add new spotless options it-at-m/refarch-templates#152
Closed
2 tasks done
@dolfinus dolfinus mentioned this pull request Sep 2, 2025
Improving contributor experience trinodb/trino#26533
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Test integration with the latest Java version on CI Update default versions for palantir-java-format

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@Goooler @steven-sheehy @nedtwigg @slachiewicz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.