Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Oct 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.googlejavaformat:google-java-format 1.28.01.33.0 age adoption passing confidence

Release Notes

google/google-java-format (com.google.googlejavaformat:google-java-format)

v1.33.0

This release contains no formatting changes.

The constructors of the com.google.googlejavaformat.java.filer.FormattingFiler API are now deprecated, and the new factory method FormattingFiler#create(ProcessingEnvironment) should be used instead.

Full Changelog: google/google-java-format@v1.32.0...v1.33.0

v1.32.0

Changes:

  • Add support for AOSP formatting in the Eclipse plugin (#​179)

Full Changelog: google/google-java-format@v1.31.0...v1.32.0

v1.31.0

This release contains no formatting changes.

Changes:

  • Add a SnippetFormatter(JavaFormatterOptions) constructor (8c30268)

Full Changelog: google/google-java-format@v1.30.0...v1.31.0

v1.30.0

Changes:

  • Initial support for import module (#​1213)

Full Changelog: google/google-java-format@v1.29.0...v1.30.0

v1.29.0

This release contains no formatting changes.

The minimum support JDK version to run google-java-format is now JDK 21. Using google-java-format to format earlier versions of the language is still fully supported, but running the formatter itself on JDK 21 or newer is required.

Full Changelog: google/google-java-format@v1.28.0...v1.29.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners October 3, 2025 16:31
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Oct 3, 2025
@dpebot
Copy link

dpebot commented Oct 3, 2025

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2025
@renovate-bot renovate-bot changed the title deps: update dependency com.google.googlejavaformat:google-java-format to v1.29.0 deps: update dependency com.google.googlejavaformat:google-java-format to v1.30.0 Oct 14, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from d7f26e0 to 26330cb Compare October 14, 2025 05:44
@dpebot
Copy link

dpebot commented Oct 14, 2025

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 14, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 14, 2025
@renovate-bot renovate-bot changed the title deps: update dependency com.google.googlejavaformat:google-java-format to v1.30.0 deps: update dependency com.google.googlejavaformat:google-java-format to v1.31.0 Oct 27, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from 26330cb to 39fd02c Compare October 27, 2025 12:40
@dpebot
Copy link

dpebot commented Oct 27, 2025

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 27, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 27, 2025
@BenWhitehead
Copy link
Collaborator

The exception being thrown appears to only exist in versions of the jdk newer than 17 -- the error does not happen when using jdk 21.

full stack trace java.lang.ClassNotFoundException: com.sun.tools.javac.tree.JCTree$JCAnyPattern
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.243 s
[INFO] Finished at: 2025-10-27T11:39:54-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.spotify.fmt:fmt-maven-plugin:2.29:format (format-main) on project google-cloud-conformance-tests: Execution format-main of goal com.spotify.fmt:fmt-maven-plugin:2.29:format failed: A required class was missing while executing com.spotify.fmt:fmt-maven-plugin:2.29:format: null
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.spotify.fmt:fmt-maven-plugin:2.29
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/spotify/fmt/fmt-maven-plugin/2.29/fmt-maven-plugin-2.29.jar
[ERROR] urls[1] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/googlejavaformat/google-java-format/1.31.0/google-java-format-1.31.0.jar
[ERROR] urls[2] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar
[ERROR] urls[3] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
[ERROR] urls[4] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
[ERROR] urls[5] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[ERROR] urls[6] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0.jar
[ERROR] urls[7] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1.jar
[ERROR] urls[8] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar
[ERROR] urls[9] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
[ERROR] urls[10] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.9.0.M2/org.eclipse.sisu.inject-0.9.0.M2.jar
[ERROR] urls[11] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
[ERROR] urls[12] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>com.google.cloud:google-cloud-conformance-tests:0.3.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] : NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCAnyPattern: com.sun.tools.javac.tree.JCTree$JCAnyPattern
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.spotify.fmt:fmt-maven-plugin:2.29:format (format-main) on project google-cloud-conformance-tests: Execution format-main of goal com.spotify.fmt:fmt-maven-plugin:2.29:format failed: A required class was missing while executing com.spotify.fmt:fmt-maven-plugin:2.29:format: null
-----------------------------------------------------
realm =    plugin>com.spotify.fmt:fmt-maven-plugin:2.29
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/spotify/fmt/fmt-maven-plugin/2.29/fmt-maven-plugin-2.29.jar
urls[1] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/googlejavaformat/google-java-format/1.31.0/google-java-format-1.31.0.jar
urls[2] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar
urls[3] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
urls[4] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
urls[5] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[6] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0.jar
urls[7] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1.jar
urls[8] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar
urls[9] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
urls[10] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.9.0.M2/org.eclipse.sisu.inject-0.9.0.M2.jar
urls[11] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
urls[12] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>com.google.cloud:google-cloud-conformance-tests:0.3.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution format-main of goal com.spotify.fmt:fmt-maven-plugin:2.29:format failed: A required class was missing while executing com.spotify.fmt:fmt-maven-plugin:2.29:format: null
-----------------------------------------------------
realm =    plugin>com.spotify.fmt:fmt-maven-plugin:2.29
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/spotify/fmt/fmt-maven-plugin/2.29/fmt-maven-plugin-2.29.jar
urls[1] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/googlejavaformat/google-java-format/1.31.0/google-java-format-1.31.0.jar
urls[2] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar
urls[3] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
urls[4] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
urls[5] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[6] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0.jar
urls[7] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1.jar
urls[8] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar
urls[9] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
urls[10] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.9.0.M2/org.eclipse.sisu.inject-0.9.0.M2.jar
urls[11] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
urls[12] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>com.google.cloud:google-cloud-conformance-tests:0.3.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:152)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing com.spotify.fmt:fmt-maven-plugin:2.29:format: null
-----------------------------------------------------
realm =    plugin>com.spotify.fmt:fmt-maven-plugin:2.29
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/spotify/fmt/fmt-maven-plugin/2.29/fmt-maven-plugin-2.29.jar
urls[1] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/googlejavaformat/google-java-format/1.31.0/google-java-format-1.31.0.jar
urls[2] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/guava/32.1.3-jre/guava-32.1.3-jre.jar
urls[3] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
urls[4] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
urls[5] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
urls[6] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/checkerframework/checker-qual/3.37.0/checker-qual-3.37.0.jar
urls[7] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/errorprone/error_prone_annotations/2.21.1/error_prone_annotations-2.21.1.jar
urls[8] = file:/usr/local/google/home/benwhitehead/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar
urls[9] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
urls[10] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.9.0.M2/org.eclipse.sisu.inject-0.9.0.M2.jar
urls[11] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
urls[12] = file:/usr/local/google/home/benwhitehead/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>com.google.cloud:google-cloud-conformance-tests:0.3.8-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:150)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.lang.NoClassDefFoundError
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstanceWithCaller (Constructor.java:499)
    at java.lang.reflect.Constructor.newInstance (Constructor.java:480)
    at java.util.concurrent.ForkJoinTask.getThrowableException (ForkJoinTask.java:564)
    at java.util.concurrent.ForkJoinTask.reportException (ForkJoinTask.java:591)
    at java.util.concurrent.ForkJoinTask.invoke (ForkJoinTask.java:689)
    at java.util.stream.ReduceOps$ReduceOp.evaluateParallel (ReduceOps.java:927)
    at java.util.stream.ReduceOps$5.evaluateParallel (ReduceOps.java:267)
    at java.util.stream.ReduceOps$5.evaluateParallel (ReduceOps.java:248)
    at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:233)
    at java.util.stream.ReferencePipeline.count (ReferencePipeline.java:709)
    at com.spotify.fmt.Formatter.formatSourceFilesInDirectory (Formatter.java:97)
    at com.spotify.fmt.Formatter.format (Formatter.java:67)
    at com.spotify.fmt.AbstractFMT$FormattingCallable.call (AbstractFMT.java:277)
    at com.spotify.fmt.AbstractFMT$FormattingCallable.call (AbstractFMT.java:265)
    at com.spotify.fmt.ForkingExecutor$Trampoline.run (ForkingExecutor.java:386)
    at com.spotify.fmt.ForkingExecutor$Trampoline.main (ForkingExecutor.java:368)
Caused by: java.lang.NoClassDefFoundError: com/sun/tools/javac/tree/JCTree$JCAnyPattern
    at com.google.googlejavaformat.java.JavaInputAstVisitor.scan (JavaInputAstVisitor.java:370)
    at com.google.googlejavaformat.java.Formatter.format (Formatter.java:154)
    at com.google.googlejavaformat.java.Formatter.getFormatReplacements (Formatter.java:254)
    at com.google.googlejavaformat.java.Formatter.formatSource (Formatter.java:228)
    at com.google.googlejavaformat.java.Formatter.formatSource (Formatter.java:194)
    at com.spotify.fmt.Formatter.formatSourceFile (Formatter.java:158)
    at com.spotify.fmt.Formatter.lambda$formatSourceFilesInDirectory$1 (Formatter.java:95)
    at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:197)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:197)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1625)
    at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:509)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:499)
    at java.util.stream.ReduceOps$ReduceTask.doLeaf (ReduceOps.java:960)
    at java.util.stream.ReduceOps$ReduceTask.doLeaf (ReduceOps.java:934)
    at java.util.stream.AbstractTask.compute (AbstractTask.java:327)
    at java.util.concurrent.CountedCompleter.exec (CountedCompleter.java:754)
    at java.util.concurrent.ForkJoinTask.doExec (ForkJoinTask.java:373)
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec (ForkJoinPool.java:1182)
    at java.util.concurrent.ForkJoinPool.scan (ForkJoinPool.java:1655)
    at java.util.concurrent.ForkJoinPool.runWorker (ForkJoinPool.java:1622)
    at java.util.concurrent.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:165)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.tree.JCTree$JCAnyPattern
    at jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java:641)
    at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass (ClassLoaders.java:188)
    at java.lang.ClassLoader.loadClass (ClassLoader.java:520)
    at com.google.googlejavaformat.java.JavaInputAstVisitor.scan (JavaInputAstVisitor.java:370)
    at com.google.googlejavaformat.java.Formatter.format (Formatter.java:154)
    at com.google.googlejavaformat.java.Formatter.getFormatReplacements (Formatter.java:254)
    at com.google.googlejavaformat.java.Formatter.formatSource (Formatter.java:228)
    at com.google.googlejavaformat.java.Formatter.formatSource (Formatter.java:194)
    at com.spotify.fmt.Formatter.formatSourceFile (Formatter.java:158)
    at com.spotify.fmt.Formatter.lambda$formatSourceFilesInDirectory$1 (Formatter.java:95)
    at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:197)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:197)
    at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:179)
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1625)
    at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:509)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:499)
    at java.util.stream.ReduceOps$ReduceTask.doLeaf (ReduceOps.java:960)
    at java.util.stream.ReduceOps$ReduceTask.doLeaf (ReduceOps.java:934)
    at java.util.stream.AbstractTask.compute (AbstractTask.java:327)
    at java.util.concurrent.CountedCompleter.exec (CountedCompleter.java:754)
    at java.util.concurrent.ForkJoinTask.doExec (ForkJoinTask.java:373)
    at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec (ForkJoinPool.java:1182)
    at java.util.concurrent.ForkJoinPool.scan (ForkJoinPool.java:1655)
    at java.util.concurrent.ForkJoinPool.runWorker (ForkJoinPool.java:1622)
    at java.util.concurrent.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:165)

@renovate-bot renovate-bot changed the title deps: update dependency com.google.googlejavaformat:google-java-format to v1.31.0 deps: update dependency com.google.googlejavaformat:google-java-format to v1.32.0 Nov 7, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from 39fd02c to 85a736f Compare November 7, 2025 16:29
@dpebot
Copy link

dpebot commented Nov 7, 2025

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 7, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 7, 2025
@renovate-bot renovate-bot changed the title deps: update dependency com.google.googlejavaformat:google-java-format to v1.32.0 deps: update dependency com.google.googlejavaformat:google-java-format to v1.33.0 Dec 5, 2025
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from 85a736f to 271a105 Compare December 5, 2025 13:57
@dpebot
Copy link

dpebot commented Dec 5, 2025

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 5, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants