When executing spotless-maven-plugin:2.44.4:check on Java 25 Build 19, I get the following error:
Execution default of goal com.diffplug.spotless:spotless-maven-plugin:2.44.4:check failed: An API incompatibility was encountered while executing com.diffplug.spotless:spotless-maven-plugin:2.44.4:check: java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()'
It seems that DeferredDiagnosticHandler::getDiagnostics is no longer binary compatible as it returns a List<JCDiagnostic> in Java 25 instead of a Queue<JCDiagnostic>.
Full logs at: https://github.com/scordio/jimfs-junit-jupiter/actions/runs/14557109026/job/40835481353
When executing
spotless-maven-plugin:2.44.4:checkon Java 25 Build 19, I get the following error:It seems that
DeferredDiagnosticHandler::getDiagnosticsis no longer binary compatible as it returns aList<JCDiagnostic>in Java 25 instead of aQueue<JCDiagnostic>.Full logs at: https://github.com/scordio/jimfs-junit-jupiter/actions/runs/14557109026/job/40835481353