Skip to content

Conversation

snuyanzin
Copy link
Contributor

What is the purpose of the change

The problem with spotless in jdk25 is that we still use google-java-format 1.24.0 which still supports jdk11.
The first google-java-format supporting jdk25 is 1.28.0 however it already requires jdk17 as minimum and doesn't support jdk11. So there is no way for now to support 11, 17, 21 and 25. Moreover updating of google-java-format will also trigger a bit different format for some edge cases. Thus the approach is as before: disable it for jdk25 for now

Brief change log

pom

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): ( no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? ( no)
  • If yes, how is the feature documented? (not applicable )

@flinkbot
Copy link
Collaborator

flinkbot commented Oct 4, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Re-evaluate once support for Java 11 is dropped. -->
<skip>true</skip>
</configuration>
</plugin>
Copy link
Contributor

Choose a reason for hiding this comment

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

I see that java 21 has compilerArgs, I am curious, is this missing for java 25 or do we no longer need them at this level?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there is no compiler args for profile java21

you probably mean profile java21-target then it is different

there is a separate PR to add java25-target with such flags #27080

this PR is only about disabling spotless

@github-actions github-actions bot added the community-reviewed PR has been reviewed by the community. label Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-reviewed PR has been reviewed by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants