Skip to content

ci: Run all downstream protobuf CI checks with Java 8 JVM#3747

Merged
lqiu96 merged 1 commit intomainfrom
test-protobuf-ci
Apr 17, 2025
Merged

ci: Run all downstream protobuf CI checks with Java 8 JVM#3747
lqiu96 merged 1 commit intomainfrom
test-protobuf-ci

Conversation

@lqiu96
Copy link
Copy Markdown
Member

@lqiu96 lqiu96 commented Apr 17, 2025

Error:

Error: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/CloudDatastore 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

This error seemed to show up ~3 weeks ago, but it doesn't look like anything changed in java-datastore. Cloud Datastore Emulator seems to have required JRE 11 since ~late 2022. We have been compiling with JDK 11 and running with Java 8.

Successful run: https://github.com/googleapis/sdk-platform-java/actions/runs/14522553161

@lqiu96 lqiu96 requested a review from suztomo April 17, 2025 18:57
@product-auto-label product-auto-label Bot added size: s Pull request size is small. size: l Pull request size is large. and removed size: s Pull request size is small. labels Apr 17, 2025
@lqiu96 lqiu96 force-pushed the test-protobuf-ci branch from e5eee2d to 460fac5 Compare April 17, 2025 19:00
@product-auto-label product-auto-label Bot added size: s Pull request size is small. and removed size: l Pull request size is large. labels Apr 17, 2025
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@lqiu96 lqiu96 merged commit 992e643 into main Apr 17, 2025
81 of 86 checks passed
@lqiu96 lqiu96 deleted the test-protobuf-ci branch April 17, 2025 21:22
lqiu96 added a commit that referenced this pull request Jun 10, 2025
Error:
```
Error: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/CloudDatastore 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
```

This error seemed to show up ~3 weeks ago, but it doesn't look like
anything changed in java-datastore. Cloud Datastore Emulator seems to
have required JRE 11 since ~late 2022. We have been compiling with JDK
11 and running with Java 8.

Successful run:
https://github.com/googleapis/sdk-platform-java/actions/runs/14522553161
lqiu96 added a commit that referenced this pull request Aug 21, 2025
Error:
```
Error: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/CloudDatastore 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
```

This error seemed to show up ~3 weeks ago, but it doesn't look like
anything changed in java-datastore. Cloud Datastore Emulator seems to
have required JRE 11 since ~late 2022. We have been compiling with JDK
11 and running with Java 8.

Successful run:
https://github.com/googleapis/sdk-platform-java/actions/runs/14522553161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants