Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples/checkstyle tests failures #1748

Open
zhumin8 opened this issue Jan 13, 2025 · 0 comments
Open

samples/checkstyle tests failures #1748

zhumin8 opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
api: logging Issues related to the googleapis/java-logging API. samples Issues that are directly related to samples.

Comments

@zhumin8
Copy link
Contributor

zhumin8 commented Jan 13, 2025

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

@product-auto-label product-auto-label bot added api: logging Issues related to the googleapis/java-logging API. samples Issues that are directly related to samples. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the googleapis/java-logging API. samples Issues that are directly related to samples.
Projects
None yet
Development

No branches or pull requests

2 participants