Skip to content

samples/checkstyle tests failures #1748

@zhumin8

Description

@zhumin8

samples/checkstyle tests started to fail recently (since Nov 2024) with java compatibility error:

Error:  Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.2.1:check (default-cli) on project logging-snippets: Execution default-cli of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.2.1:check failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-checkstyle-plugin:3.2.1:check: java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/AuditListener has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Noticed this during release jobs. This started to failing from at least #1724 https://github.com/googleapis/java-logging/actions/runs/11884466491/job/33112682711
last release version with success in this workflow: #1718 https://github.com/googleapis/java-logging/actions/runs/11527764571/job/32093971804

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/java-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions