Skip to content

Formatting not working with latest IntelliJ 2025.3 and Java 25 #77

Description

@Srivastava295

I get the following error when I apply formatting.

Exception in thread "main" java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()' at com.google.googlejavaformat.java.JavaInput.buildToks(JavaInput.java:367) at com.google.googlejavaformat.java.JavaInput.buildToks(JavaInput.java:335) at com.google.googlejavaformat.java.JavaInput. (JavaInput.java:277) at com.google.googlejavaformat.java.Formatter.getFormatReplacements(Formatter.java:254) at com.google.googlejavaformat.java.Formatter.formatSource(Formatter.java:241) at com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:75) at com.google.googlejavaformat.java.Main.formatStdin(Main.java:224) at com.google.googlejavaformat.java.Main.format(Main.java:128) at com.google.googlejavaformat.java.Main.main(Main.java:92) at com.google.googlejavaformat.java.Main.main(Main.java:82) at com.google.googlejavaformat.java.Main.main(Main.java:71)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions